diff options
author | Jonathan Yong <jon_y@users.sourceforge.net> | 2011-10-14 06:57:55 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2011-10-14 08:57:55 +0200 |
commit | d7a3ef9794c7a58d576c563d1610b42ba040c871 (patch) | |
tree | 2c78a59a022849cad66111483b72b8263adb7539 /libstdc++-v3/configure.host | |
parent | 4fbe3b8a2b1d68aca653e8fea4a7f2ea04775bdf (diff) | |
download | gcc-d7a3ef9794c7a58d576c563d1610b42ba040c871.tar.gz |
configure.host: Use config/os/mingw32-w64 instead of config/os/mingw32 if vendor key is "w64".
2011-10-14 Jonathan Yong <jon_y@users.sourceforge.net>
* configure.host: Use config/os/mingw32-w64 instead of
config/os/mingw32 if vendor key is "w64".
* config/os/mingw32-w64: Duplicate from config/os/mingw32.
* config/os/mingw32-w64/os_defines.h: Enable
_GLIBCXX_FULLY_DYNAMIC_STRING if undefined.
* acinclude.m4: Set fully-dynamic-string to 1 when enabled,
0 when disabled or undefined if unset by user.
* include/bits/basic_string.h: Check if
_GLIBCXX_FULLY_DYNAMIC_STRING is set to 0 instead of undefined.
include/bits/basic_string.tcc: Likewise.
* configure: Regenerated.
* config.h.in: Likewise.
From-SVN: r179961
Diffstat (limited to 'libstdc++-v3/configure.host')
-rw-r--r-- | libstdc++-v3/configure.host | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index 799cec2f412..4da4508fa4f 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -260,8 +260,16 @@ case "${host_os}" in atomic_word_dir=os/irix ;; mingw32*) - os_include_dir="os/mingw32" - error_constants_dir="os/mingw32" + case "$host" in + *-w64-*) + os_include_dir="os/mingw32-w64" + error_constants_dir="os/mingw32-w64" + ;; + *) + os_include_dir="os/mingw32" + error_constants_dir="os/mingw32" + ;; + esac OPT_LDFLAGS="${OPT_LDFLAGS} \$(lt_host_flags)" ;; netbsd*) |