aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-02-04 19:59:20 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-02-04 19:59:20 +0000
commit32b1cf221d31145275866912242137b38654d099 (patch)
treec504cdd44ca536d424cd8047f06a736b9e938c16 /gprof
parentbb8541b9c4e5fd33d0b2a2271a060ece41c708ee (diff)
downloadgdb-32b1cf221d31145275866912242137b38654d099.zip
gdb-32b1cf221d31145275866912242137b38654d099.tar.gz
gdb-32b1cf221d31145275866912242137b38654d099.tar.bz2
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715 * configure: Regenerated.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog5
-rwxr-xr-xgprof/configure10
2 files changed, 15 insertions, 0 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 12bc025..e4acac6 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -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.
diff --git a/gprof/configure b/gprof/configure
index 6c9a68c..b485711 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