From cb62ffdfc214a8f58daa2e54f429f40fda68247e Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Wed, 25 Jun 2025 11:24:01 +0700 Subject: [PATCH] we manage -fno-sanitize in code, only needed for opcache with jit --- config/env.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/env.ini b/config/env.ini index 90168b0e..c00aafc3 100644 --- a/config/env.ini +++ b/config/env.ini @@ -71,7 +71,7 @@ CXX=${SPC_LINUX_DEFAULT_CXX} AR=${SPC_LINUX_DEFAULT_AR} LD=${SPC_LINUX_DEFAULT_LD} ; default compiler flags, used in CMake toolchain file, openssl and pkg-config build -SPC_DEFAULT_C_FLAGS="-fPIC -Os -Wno-error=date-time -fno-sanitize=undefined" +SPC_DEFAULT_C_FLAGS="-fPIC -Os -Wno-error=date-time" SPC_DEFAULT_CXX_FLAGS="-fPIC -Os -Wno-error=date-time" ; extra libs for building php executable, used in `make` command for building php (this value may changed by extension build process, space separated) SPC_EXTRA_LIBS=