summaryrefslogtreecommitdiffhomepage
path: root/auto/cc/gcc
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-08-06 17:03:01 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-08-06 17:03:01 +0000
commita24d4d23f770856762a7f3f11f29c0f8b517b1ab (patch)
tree29e5b7fdb2e77734b99d4d8e2a862c72b3026e2d /auto/cc/gcc
parent7ca2e6d24e16c55cc336d1c86c9bc315d2199321 (diff)
downloadnginx-a24d4d23f770856762a7f3f11f29c0f8b517b1ab.tar.gz
nginx-a24d4d23f770856762a7f3f11f29c0f8b517b1ab.tar.bz2
Merge of r4759, r4762, r4768: configure minor fixes.
*) Replaced a number of "else if" with "elif". *) Made sure to run configure in a "C" locale. Otherwise, we may fail to properly detect a version of compiler. *) Removed extraneous GCC warning flags.
Diffstat (limited to 'auto/cc/gcc')
-rw-r--r--auto/cc/gcc3
1 files changed, 0 insertions, 3 deletions
diff --git a/auto/cc/gcc b/auto/cc/gcc
index de666a34c..1676641f3 100644
--- a/auto/cc/gcc
+++ b/auto/cc/gcc
@@ -155,9 +155,6 @@ case "$NGX_GCC_VER" in
3.* | 4.* )
# we have a lot of the unused function arguments
CFLAGS="$CFLAGS -Wno-unused-parameter"
- CFLAGS="$CFLAGS -Wunused-function"
- CFLAGS="$CFLAGS -Wunused-variable"
- CFLAGS="$CFLAGS -Wunused-value"
# 4.2.1 shows the warning in wrong places
#CFLAGS="$CFLAGS -Wunreachable-code"
;;