Add MACOSX_DEPLOYMENT_TARGET to env.ini (#1009)

This commit is contained in:
Jerry Ma 2025-12-26 17:15:45 +08:00 committed by GitHub
parent 9fdfef5057
commit 8650ce4f8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,6 +142,8 @@ SPC_CMD_PREFIX_PHP_CONFIGURE="./configure --prefix= --with-valgrind=no --enable-
SPC_CMD_VAR_PHP_EMBED_TYPE="static"
; EXTRA_CFLAGS for `configure` and `make` php
SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS="-g -fstack-protector-strong -fpic -fpie -Werror=unknown-warning-option ${SPC_DEFAULT_C_FLAGS}"
; minimum compatible macOS version (LLVM vars, availability not guaranteed)
MACOSX_DEPLOYMENT_TARGET=12.0
[freebsd]
; compiler environments