diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-02-04 19:59:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-02-04 19:59:20 +0000 |
commit | 32b1cf221d31145275866912242137b38654d099 (patch) | |
tree | c504cdd44ca536d424cd8047f06a736b9e938c16 /gprof/configure | |
parent | bb8541b9c4e5fd33d0b2a2271a060ece41c708ee (diff) | |
download | gdb-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/configure')
-rwxr-xr-x | gprof/configure | 10 |
1 files changed, 10 insertions, 0 deletions
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 |