From 7b6e707e24453a666dbc06f6f0fb5ed425d16bd8 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Mon, 13 Oct 2025 19:58:07 +0800 Subject: [PATCH] Remove unnecessary macOS 15 bug CFLAGS from PostgreSQL build configuration --- src/SPC/builder/unix/library/postgresql.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/SPC/builder/unix/library/postgresql.php b/src/SPC/builder/unix/library/postgresql.php index 250b8691..6c42cf75 100644 --- a/src/SPC/builder/unix/library/postgresql.php +++ b/src/SPC/builder/unix/library/postgresql.php @@ -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'],