aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config/os
diff options
context:
space:
mode:
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>2017-05-02 17:04:39 +0200
committerJonathan Yong <jyong@gcc.gnu.org>2017-05-02 15:04:39 +0000
commit8a20a3c76fd6299d1e739b858625e5020a0140d5 (patch)
treed3396784d44753aa23e84cb28698a3738e46a011 /libstdc++-v3/config/os
parentc1a2a0b833fb3e9db7258fe991579012d3872386 (diff)
downloadgcc-8a20a3c76fd6299d1e739b858625e5020a0140d5.zip
gcc-8a20a3c76fd6299d1e739b858625e5020a0140d5.tar.gz
gcc-8a20a3c76fd6299d1e739b858625e5020a0140d5.tar.bz2
re PR bootstrap/69506 (check-in 232454 seems to cause problems with cygwin builds)
2017-05-02 Hugo Beauzée-Luyssen <hugo@beauzee.fr> PR libstdc++/69506 * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. From-SVN: r247502
Diffstat (limited to 'libstdc++-v3/config/os')
-rw-r--r--libstdc++-v3/config/os/mingw32-w64/os_defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/config/os/mingw32-w64/os_defines.h b/libstdc++-v3/config/os/mingw32-w64/os_defines.h
index 1f46103..4498506 100644
--- a/libstdc++-v3/config/os/mingw32-w64/os_defines.h
+++ b/libstdc++-v3/config/os/mingw32-w64/os_defines.h
@@ -76,6 +76,8 @@
#ifdef __x86_64__
#define _GLIBCXX_LLP64 1
+// See libstdc++/69506
+#define _GLIBCXX_USE_WEAK_REF 0
#endif
// Enable use of GetModuleHandleEx (requires Windows XP/2003) in