]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 4 Feb 2008 19:59:20 +0000 (19:59 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 4 Feb 2008 19:59:20 +0000 (19:59 +0000)
PR 5715
* configure: Regenerated.

gprof/ChangeLog
gprof/configure

index 12bc025f964d36f6e29c0c65b547f75529ead6fa..e4acac6075ecd8ee313432268edabb727edc4ccb 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 5715
+       * configure: Regenerated.
+
 2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        * configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
index 6c9a68cb34991d20235e57e1915c01654417147f..b485711af68e76017f1495696083d01d92c2359f 100755 (executable)
@@ -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