nginx: drop redundant --with-cc-opt configure arg
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Apr 2024 14:56:14 +0000 (16:56 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Apr 2024 14:56:14 +0000 (16:56 +0200)
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 <ansuelsmth@gmail.com>
net/nginx/Makefile

index 6612c5935839d661a186ba339611971eee9d3ed3..14c856a31b687ebe86d6b5dcd5d273a503cb48f1 100644 (file)
@@ -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 \