diff options
Diffstat (limited to 'sim/igen/configure')
-rwxr-xr-x | sim/igen/configure | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sim/igen/configure b/sim/igen/configure index 9ed39bf..0239c52 100755 --- a/sim/igen/configure +++ b/sim/igen/configure @@ -4810,11 +4810,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then fi WERROR_CFLAGS="" -if test "${ERROR_ON_WARNING}" = yes ; then -# NOTE: Disabled in the sim dir due to most sims generating warnings. -# WERROR_CFLAGS="-Werror" - true -fi + if test "${ERROR_ON_WARNING}" = yes ; then + WERROR_CFLAGS="-Werror" + fi build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ -Wpointer-sign \ |