changeset 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 4d25ec8f0adb
children c61210e2e081
files auto/cc/gcc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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