summaryrefslogtreecommitdiff
path: root/auto/cc/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'auto/cc/gcc')
-rw-r--r--auto/cc/gcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/cc/gcc b/auto/cc/gcc
index 727f11e1d..c9101fea1 100644
--- a/auto/cc/gcc
+++ b/auto/cc/gcc
@@ -153,7 +153,7 @@ CFLAGS="$CFLAGS -Wall -Wpointer-arith"
case "$NGX_GCC_VER" in
- 3.* | 4.* )
+ [3-5].*)
# we have a lot of the unused function arguments
CFLAGS="$CFLAGS -Wno-unused-parameter"
# 4.2.1 shows the warning in wrong places