diff auto/cc/gcc @ 6178:c041f1e0655f

Configure: added gcc5 to the list of known GCC versions.
author Valentin Bartenev <vbart@nginx.com>
date Wed, 10 Jun 2015 19:18:20 +0300
parents 80bd391c90d1
children ade7d0335d77
line wrap: on
line diff
--- 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