MSYS2-packages/gcc/0016-disable-weak-refs-in-libstdc++.patch
Rafael Kitover 1f64bf2628 add libstdc++ weakrefs patch for msys gcc (#1608)
This patch was in the 7 series of gccs for mingw, and it helps on msys
too.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2019-04-15 10:21:42 +03:00

11 lines
363 B
Diff

--- gcc/libstdc++-v3/config/os/mingw32-w64/os_defines.h.orig 2016-01-04 14:30:49.999997000 +0000
+++ gcc/libstdc++-v3/config/os/mingw32-w64/os_defines.h 2016-07-24 20:45:37.352669700 +0100
@@ -76,6 +76,7 @@
#ifdef __x86_64__
#define _GLIBCXX_LLP64 1
+#define _GLIBCXX_USE_WEAK_REF 0
#endif
// Enable use of GetModuleHandleEx (requires Windows XP/2003) in