From 36a2c801283cb92213b23215c1d91925a60e8427 Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Tue, 8 Aug 2017 18:25:30 +0200 Subject: [PATCH] boring-nginx: less aggressive flags --- boring-nginx/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boring-nginx/Dockerfile b/boring-nginx/Dockerfile index e1960b9..d03cb34 100644 --- a/boring-nginx/Dockerfile +++ b/boring-nginx/Dockerfile @@ -113,7 +113,7 @@ RUN NB_CORES=${BUILD_CORES-$(getconf _NPROCESSORS_CONF)} \ && ./configure \ --prefix=/etc/nginx \ --sbin-path=/usr/sbin/nginx \ - --with-cc-opt="-m64 -march=native -mtune=native -DTCP_FASTOPEN=23 -Ofast -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -Wno-deprecated-declarations -I ../boringssl/.openssl/include/" \ + --with-cc-opt="-O3 -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -Wno-deprecated-declarations -I ../boringssl/.openssl/include/" \ --with-ld-opt="-lrt -ljemalloc -Wl,-Bsymbolic-functions -Wl,-z,relro -L ../boringssl/.openssl/lib" \ --http-log-path=/var/log/nginx/access.log \ --error-log-path=/var/log/nginx/error.log \