From 9d809674e3c243327015c781ea5fe3e165c399f1 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Sat, 6 Apr 2024 16:56:14 +0200 Subject: [PATCH] nginx: drop redundant --with-cc-opt configure arg Drop redundant --with-cc-opt configure arg to mute warning of cc1: note: someone does not honour COPTS correctly, passed 2 times. CFLAGS are already parsed and correctly applied without this option and adding it just makes the CFLAGS appended twice. Signed-off-by: Christian Marangi --- net/nginx/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/net/nginx/Makefile b/net/nginx/Makefile index 6612c59358..14c856a31b 100644 --- a/net/nginx/Makefile +++ b/net/nginx/Makefile @@ -406,7 +406,6 @@ CONFIGURE_ARGS += \ --http-proxy-temp-path=/var/lib/nginx/proxy \ --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \ --with-cc="$(TARGET_CC)" \ - --with-cc-opt="$(TARGET_CPPFLAGS) $(TARGET_CFLAGS)" \ --with-ld-opt="$(TARGET_LDFLAGS)" \ --without-http_upstream_zone_module \ --with-compat \