aboutsummaryrefslogtreecommitdiff
path: root/sim/cr16/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cr16/configure')
-rw-r--r--sim/cr16/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/cr16/configure b/sim/cr16/configure
index ca6dcab..065db2b 100644
--- a/sim/cr16/configure
+++ b/sim/cr16/configure
@@ -12887,7 +12887,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"
@@ -12895,6 +12895,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.