aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-29 18:02:02 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-29 18:09:02 -0400
commitc5b349e1c593031c200abc4b6f6e759af34e5b02 (patch)
tree997e548dbd24b8210cd0d7dd4cbf99724eef6ae6 /sim/ppc/configure
parent952170707bb525babcd48f6e907512e36a4982ca (diff)
downloadgdb-c5b349e1c593031c200abc4b6f6e759af34e5b02.zip
gdb-c5b349e1c593031c200abc4b6f6e759af34e5b02.tar.gz
gdb-c5b349e1c593031c200abc4b6f6e759af34e5b02.tar.bz2
sim: ppc: enable -Wno-format for mingw targets
This mirrors what we do for other builds already.
Diffstat (limited to 'sim/ppc/configure')
-rwxr-xr-xsim/ppc/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure
index 235595b..1c2cfda 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -4778,6 +4778,9 @@ WERROR_CFLAGS=""
if test "${ERROR_ON_WARNING}" = yes ; then
WERROR_CFLAGS="-Werror"
fi
+case "${host}" in
+ *-*-mingw32*) WERROR_CFLAGS="$WERROR_CFLAGS -Wno-format" ;;
+esac
# Check whether --enable-sim-warnings was given.