fix default -O

This commit is contained in:
Igor Sysoev 2007-01-11 16:20:18 +00:00
parent 43bb0077d1
commit 21dd4be0c0

View File

@ -147,7 +147,7 @@ fi
# warnings # warnings
# -W requires at least -O # -W requires at least -O
CFLAGS="$CFLAGS ${NGX_GCC_OPT:-O} -W" CFLAGS="$CFLAGS ${NGX_GCC_OPT:--O} -W"
CFLAGS="$CFLAGS -Wall -Wpointer-arith" CFLAGS="$CFLAGS -Wall -Wpointer-arith"
#CFLAGS="$CFLAGS -Wconversion" #CFLAGS="$CFLAGS -Wconversion"