aboutsummaryrefslogtreecommitdiff
path: root/sim/aarch64/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/aarch64/configure')
-rwxr-xr-xsim/aarch64/configure8
1 files changed, 3 insertions, 5 deletions
diff --git a/sim/aarch64/configure b/sim/aarch64/configure
index a5ed5c9..6df9f8d 100755
--- a/sim/aarch64/configure
+++ b/sim/aarch64/configure
@@ -13688,11 +13688,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 \