diff --git a/auto/cc/gcc b/auto/cc/gcc index e377fced8..8ac76fb98 100644 --- a/auto/cc/gcc +++ b/auto/cc/gcc @@ -147,7 +147,7 @@ fi # warnings # -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 -Wconversion"