From d477388bae23f3389fb9feb248b846800f42c21a Mon Sep 17 00:00:00 2001 From: Hakase Date: Mon, 17 Feb 2020 21:36:49 +0900 Subject: [PATCH] Fix build error - naxsi --- auto.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto.sh b/auto.sh index 717a5da..35d134f 100755 --- a/auto.sh +++ b/auto.sh @@ -102,7 +102,7 @@ if [ "$GEOIP2" = 1 ]; then BUILD_MODULES="${BUILD_MODULES} --add-module=./lib/ng if [ "$VTS" = 1 ]; then BUILD_MODULES="${BUILD_MODULES} --add-module=./lib/nginx-module-vts"; fi auto/configure \ ---with-cc-opt="-DTCP_FASTOPEN=23 ${BUILD_BIT}${BUILD_LTO} ${TEMP_OPT} -g -O3 -march=native -fstack-protector-strong -fuse-ld=gold -fuse-linker-plugin --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wno-strict-aliasing -Wp,-D_FORTIFY_SOURCE=2 -gsplit-dwarf -DNGX_HTTP_HEADERS" \ +--with-cc-opt="-Wno-stringop-truncation -DTCP_FASTOPEN=23 ${BUILD_BIT}${BUILD_LTO} ${TEMP_OPT} -g -O3 -march=native -fstack-protector-strong -fuse-ld=gold -fuse-linker-plugin --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wno-strict-aliasing -Wp,-D_FORTIFY_SOURCE=2 -gsplit-dwarf -DNGX_HTTP_HEADERS" \ --with-ld-opt="${BUILD_LD} ${BUILD_LTO}" \ --with-openssl-opt="enable-weak-ssl-ciphers no-ssl3-method -march=native -ljemalloc ${BUILD_OPENSSL_LTO}" \ --builddir=objs --prefix=${NGX_PREFIX} \