aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m68hc11/configure')
-rwxr-xr-xsim/m68hc11/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure
index 819c756..946ac95 100755
--- a/sim/m68hc11/configure
+++ b/sim/m68hc11/configure
@@ -13237,7 +13237,7 @@ fi
# NOTE: If you change this list, remember to update
# gdb/doc/gdbint.texinfo.
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
--Wformat-nonliteral -Wno-pointer-sign \
+-Wno-pointer-sign \
-Wno-unused -Wunused-value -Wunused-function \
-Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
@@ -13245,6 +13245,7 @@ build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
# GCC versions complain about %I64.
case "${host}" in
*-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;;
+ *) build_warnings="$build_warnings -Wformat-nonliteral" ;;
esac
# Check whether --enable-build-warnings was given.