From 21dd4be0c0debea5f21b9991e8f7dd84a06beaa9 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 11 Jan 2007 16:20:18 +0000 Subject: [PATCH] fix default -O --- auto/cc/gcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"