diff options
author | H.J. Lu <hjl@lucon.org> | 2008-02-04 19:59:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2008-02-04 19:59:20 +0000 |
commit | 8469eaeb1e6cd1a16666b9533ce98681c9ace221 (patch) | |
tree | 16aa4fa9fc03633de493586aa844dcc011f1923a /gprof/configure | |
parent | 8083b114d157b475cb8f1074694fab0ec0d88a93 (diff) | |
download | binutils-redhat-8469eaeb1e6cd1a16666b9533ce98681c9ace221.tar.gz |
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 6c9a68cb34..b485711af6 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 |