From 93874766dbdc20fc886f98dd0d6da69e3c458fde Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Wed, 10 Jun 2015 19:18:20 +0300 Subject: [PATCH] Configure: added gcc5 to the list of known GCC versions. --- auto/cc/gcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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