diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2009-01-20 19:30:51 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2009-01-20 19:30:51 +0000 |
commit | 53f506ed164d3a6f5b9b2f38b62fbb55902a3b0b (patch) | |
tree | cb12ab0a19cf7a7b0a236f097cf619ee8ef52522 /libstdc++-v3/crossconfig.m4 | |
parent | 4b84f3de0228f00e3ef46f4db4971b7d24d2bda7 (diff) | |
download | gcc-53f506ed164d3a6f5b9b2f38b62fbb55902a3b0b.tar.gz |
re PR libstdc++/38919 (math_stubs_long_double.cc: error: redefinition of 'long double ...' vs. /usr/x86_64-mingw32/include/math.h)
2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
Rainer Emrich <r.emrich@de.tecosim.com>
PR libstdc++/38919
* crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
* configure: Regenerate.
Co-Authored-By: Rainer Emrich <r.emrich@de.tecosim.com>
From-SVN: r143526
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r-- | libstdc++-v3/crossconfig.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index fc83535b74f..16a19dc4689 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -141,9 +141,9 @@ case "${host}" in AM_ICONV ;; *-mingw32*) - AC_DEFINE(HAVE_STRTOF) - AC_DEFINE(HAVE_STRTOLD) GLIBCXX_CHECK_LINKER_FEATURES + GLIBCXX_CHECK_MATH_SUPPORT + GLIBCXX_CHECK_STDLIB_SUPPORT ;; *-netbsd*) SECTION_FLAGS='-ffunction-sections -fdata-sections' |