mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
Remove unnecessary macOS 15 bug CFLAGS from PostgreSQL build configuration
This commit is contained in:
parent
0114700dad
commit
7b6e707e24
@ -49,10 +49,8 @@ trait postgresql
|
|||||||
$spc = new SPCConfigUtil($this->getBuilder(), ['no_php' => true, 'libs_only_deps' => true]);
|
$spc = new SPCConfigUtil($this->getBuilder(), ['no_php' => true, 'libs_only_deps' => true]);
|
||||||
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs'));
|
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs'));
|
||||||
|
|
||||||
$macos_15_bug_cflags = PHP_OS_FAMILY === 'Darwin' ? '' : '';
|
|
||||||
|
|
||||||
$env_vars = [
|
$env_vars = [
|
||||||
'CFLAGS' => "{$config['cflags']} -fno-ident{$macos_15_bug_cflags}",
|
'CFLAGS' => "{$config['cflags']} -fno-ident",
|
||||||
'CPPFLAGS' => '-DPIC',
|
'CPPFLAGS' => '-DPIC',
|
||||||
'LDFLAGS' => $config['ldflags'],
|
'LDFLAGS' => $config['ldflags'],
|
||||||
'LIBS' => $config['libs'],
|
'LIBS' => $config['libs'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user