mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
sim: ppc: enable -Wno-format for mingw targets
This mirrors what we do for other builds already.
This commit is contained in:
@ -602,6 +602,11 @@ WERROR_CFLAGS=""
|
||||
if test "${ERROR_ON_WARNING}" = yes ; then
|
||||
WERROR_CFLAGS="-Werror"
|
||||
fi
|
||||
dnl Enable -Wno-format by default when using gcc on mingw since many
|
||||
dnl GCC versions complain about %I64.
|
||||
case "${host}" in
|
||||
*-*-mingw32*) WERROR_CFLAGS="$WERROR_CFLAGS -Wno-format" ;;
|
||||
esac
|
||||
AC_SUBST(WERROR_CFLAGS)
|
||||
|
||||
AC_ARG_ENABLE(sim-warnings,
|
||||
|
Reference in New Issue
Block a user