remove unnecessary LDFLAGS_PROGRAM env var

This commit is contained in:
DubbleClick
2025-07-05 10:44:32 +07:00
parent 112f607d6e
commit 2ac20cf3af
4 changed files with 2 additions and 5 deletions

View File

@@ -119,8 +119,6 @@ SPC_CMD_VAR_PHP_CONFIGURE_LDFLAGS="-L${BUILD_LIB_PATH}"
SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS="-g -fstack-protector-strong -fno-ident -fPIE ${SPC_DEFAULT_C_FLAGS}"
; EXTRA_LDFLAGS for `make` php, can use -release to set a soname for libphp.so
SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS=""
; EXTRA_LDFLAGS_PROGRAM for `make` php
SPC_CMD_VAR_PHP_MAKE_EXTRA_LDFLAGS_PROGRAM="-all-static -pie"
[macos]
; build target: macho or macho (possibly we could support macho-universal in the future)