From: H.J. Lu Date: Mon, 4 Feb 2008 19:59:20 +0000 (+0000) Subject: 2008-02-04 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32b1cf221d31145275866912242137b38654d099;p=binutils-gdb.git 2008-02-04 H.J. Lu PR 5715 * configure: Regenerated. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 12bc025f964..e4acac6075e 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +2008-02-04 H.J. Lu + + PR 5715 + * configure: Regenerated. + 2007-10-24 H.J. Lu * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE. diff --git a/gprof/configure b/gprof/configure index 6c9a68cb349..b485711af68 100755 --- a/gprof/configure +++ b/gprof/configure @@ -11222,6 +11222,16 @@ echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;} esac fi; +# Enable -Wno-format by default when using gcc on mingw +case "${host}" in + *-*-mingw32*) + if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then + GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format" + fi + ;; + *) ;; +esac + # Enable -Werror by default when using gcc if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then ERROR_ON_WARNING=yes