mirror of
https://github.com/nginx/nginx.git
synced 2025-01-04 05:07:00 -06:00
fix default -O
This commit is contained in:
parent
43bb0077d1
commit
21dd4be0c0
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user