mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 05:33:52 -06:00
Configure: enabled -Werror for clang.
Modern clang versions seem to no longer produce warnings for system headers on Linux (at least clang 3.3 works), hence the change. For older versions --with-cc-opt="-Wno-error" can be used as a workaround.
This commit is contained in:
parent
135dc712c0
commit
d700bbefdb
@ -89,7 +89,7 @@ CFLAGS="$CFLAGS -Wconditional-uninitialized"
|
||||
CFLAGS="$CFLAGS -Wno-unused-parameter"
|
||||
|
||||
# stop on warning
|
||||
#CFLAGS="$CFLAGS -Werror"
|
||||
CFLAGS="$CFLAGS -Werror"
|
||||
|
||||
# debug
|
||||
CFLAGS="$CFLAGS -g"
|
||||
|
Loading…
Reference in New Issue
Block a user