Mercurial > hg > nginx
comparison auto/cc/gcc @ 1010:d1792e17a559
fix default -O
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 11 Jan 2007 16:20:18 +0000 |
parents | 7af8276b1c2f |
children | 3b9b67bc0cdc |
comparison
equal
deleted
inserted
replaced
1009:ee5f21acea76 | 1010:d1792e17a559 |
---|---|
145 | 145 |
146 | 146 |
147 # warnings | 147 # warnings |
148 | 148 |
149 # -W requires at least -O | 149 # -W requires at least -O |
150 CFLAGS="$CFLAGS ${NGX_GCC_OPT:-O} -W" | 150 CFLAGS="$CFLAGS ${NGX_GCC_OPT:--O} -W" |
151 | 151 |
152 CFLAGS="$CFLAGS -Wall -Wpointer-arith" | 152 CFLAGS="$CFLAGS -Wall -Wpointer-arith" |
153 #CFLAGS="$CFLAGS -Wconversion" | 153 #CFLAGS="$CFLAGS -Wconversion" |
154 #CFLAGS="$CFLAGS -Winline" | 154 #CFLAGS="$CFLAGS -Winline" |
155 | 155 |