diff --git a/nginx-build.sh b/nginx-build.sh index baf6a1d..dbac327 100755 --- a/nginx-build.sh +++ b/nginx-build.sh @@ -799,10 +799,10 @@ _configure_nginx() { fi if [ "$OS_ARCH" = 'x86_64' ]; then - if [ "$DISTRO_ID" = "Ubuntu" ]; then - DEB_CFLAGS='-m64 -march=native -mtune=native -DTCP_FASTOPEN=23 -g -O3 -fstack-protector-strong -flto -ffat-lto-objects -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wimplicit-fallthrough=0 -fcode-hoisting -Wp,-D_FORTIFY_SOURCE=2 -gsplit-dwarf' - DEB_LFLAGS='-lrt -ljemalloc -Wl,-z,relro -Wl,-z,now -fPIC -flto -ffat-lto-objects' - fi + #if [ "$DISTRO_ID" = "Ubuntu" ]; then + # DEB_CFLAGS='-m64 -march=native -mtune=native -DTCP_FASTOPEN=23 -g -O3 -fstack-protector-strong -flto -ffat-lto-objects -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wimplicit-fallthrough=0 -fcode-hoisting -Wp,-D_FORTIFY_SOURCE=2 -gsplit-dwarf' + # DEB_LFLAGS='-lrt -ljemalloc -Wl,-z,relro -Wl,-z,now -fPIC -flto -ffat-lto-objects' + #fi ZLIB_PATH='../zlib-cf' else ZLIB_PATH='../zlib'