From 7fef7f8d95e2482f8108345168bca46ae1b9a2ea Mon Sep 17 00:00:00 2001 From: Vince JV <1276544+vincejv@users.noreply.github.com> Date: Fri, 8 Nov 2024 21:28:26 +0800 Subject: [PATCH] Remove `-pipe` --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f8c41fe..bffddba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,11 +37,11 @@ ARG NGINX_USER_UID=100 ARG NGINX_GROUP_GID=101 # NGINX Native CC Opt -ARG CC_OPT="-O3 -pipe -flto -ffat-lto-objects -fomit-frame-pointer -march=sandybridge" +ARG CC_OPT="-O3 -flto -ffat-lto-objects -fomit-frame-pointer -march=sandybridge" # https://nginx.org/en/docs/http/ngx_http_v3_module.html ARG CONFIG="\ - --with-cc-opt='$CC_OPT' \ + --with-cc-opt=\"$CC_OPT\" \ --build=quic-$NGINX_COMMIT \ --prefix=/etc/nginx \ --sbin-path=/usr/sbin/nginx \