mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +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]);
|
||||
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs'));
|
||||
|
||||
$macos_15_bug_cflags = PHP_OS_FAMILY === 'Darwin' ? '' : '';
|
||||
|
||||
$env_vars = [
|
||||
'CFLAGS' => "{$config['cflags']} -fno-ident{$macos_15_bug_cflags}",
|
||||
'CFLAGS' => "{$config['cflags']} -fno-ident",
|
||||
'CPPFLAGS' => '-DPIC',
|
||||
'LDFLAGS' => $config['ldflags'],
|
||||
'LIBS' => $config['libs'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user