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:
Ruslan Ermilov 2014-01-28 00:31:31 +04:00
parent 135dc712c0
commit d700bbefdb

View File

@ -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"