@@ -104,7 +104,7 @@ LD=${SPC_DEFAULT_LD}
104104; default compiler flags, used in CMake toolchain file, openssl and pkg-config build
105105SPC_DEFAULT_CFLAGS =" -fPIC -O3 -pipe -fno-plt -fno-semantic-interposition -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffunction-sections -fdata-sections"
106106SPC_DEFAULT_CXXFLAGS =" ${SPC_DEFAULT_CFLAGS}"
107- SPC_DEFAULT_LD_FLAGS =" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,-z,noexecstack -Wl,--gc-sections"
107+ SPC_DEFAULT_LDFLAGS =" -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,-z,noexecstack -Wl,--gc-sections"
108108; upx executable path
109109UPX_EXEC =${PKG_ROOT_PATH}/bin/upx
110110; phpmicro patches, for more info, see: https://github.com/easysoft/phpmicro/tree/master/patches
@@ -144,7 +144,7 @@ LD=${SPC_DEFAULT_LD}
144144; default compiler flags, used in CMake toolchain file, openssl and pkg-config build
145145SPC_DEFAULT_CFLAGS =" --target=${MAC_ARCH}-apple-darwin -O3 -fno-plt -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffunction-sections -fdata-sections"
146146SPC_DEFAULT_CXXFLAGS =" ${SPC_DEFAULT_CFLAGS}"
147- SPC_DEFAULT_LD_FLAGS =" -Wl,-dead_strip"
147+ SPC_DEFAULT_LDFLAGS =" -Wl,-dead_strip"
148148; phpmicro patches, for more info, see: https://github.com/easysoft/phpmicro/tree/master/patches
149149SPC_MICRO_PATCHES =cli_checks,macos_iconv
150150
0 commit comments