aboutsummaryrefslogtreecommitdiff
path: root/auto/cc
diff options
context:
space:
mode:
Diffstat (limited to 'auto/cc')
-rw-r--r--auto/cc/gcc2
-rw-r--r--auto/cc/icc2
2 files changed, 2 insertions, 2 deletions
diff --git a/auto/cc/gcc b/auto/cc/gcc
index 96ea865b8..1b6dbef53 100644
--- a/auto/cc/gcc
+++ b/auto/cc/gcc
@@ -182,5 +182,3 @@ CFLAGS="$CFLAGS -g"
if [ ".$CPP" = "." ]; then
CPP="$CC -E"
fi
-
-NGX_PERL_CFLAGS="$CFLAGS"
diff --git a/auto/cc/icc b/auto/cc/icc
index afcabe6e6..f1f9d3dcf 100644
--- a/auto/cc/icc
+++ b/auto/cc/icc
@@ -91,6 +91,8 @@ CFLAGS="$CFLAGS -wd269"
CFLAGS="$CFLAGS -wd810"
# parameter was never referenced
CFLAGS="$CFLAGS -wd869"
+# attribute "unused" is only allowed in a function definition, warning on pTHX_
+CFLAGS="$CFLAGS -wd1301"
# STUB
# enumerated type mixed with another type