]> git.kaiwu.me - nginx.git/commitdiff
Configure: added gcc5 to the list of known GCC versions.
authorValentin Bartenev <vbart@nginx.com>
Wed, 10 Jun 2015 16:18:20 +0000 (19:18 +0300)
committerValentin Bartenev <vbart@nginx.com>
Wed, 10 Jun 2015 16:18:20 +0000 (19:18 +0300)
auto/cc/gcc

index 727f11e1dfce8d36f52e00103bca61f6e0b1eb1d..c9101fea15bd8a3a43eb26afa4502d24a218b0bd 100644 (file)
@@ -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