[PATCH] Fix cross compiling to x86_64-w64-mingw32
JonY
10walls@gmail.com
Tue May 2 15:00:00 GMT 2017
On 05/02/2017 12:11 PM, Hugo Beauzée-Luyssen wrote:
> This patch fixes cross compiling to x86_64-w64-mingw32
> See https://github.com/Alexpux/MINGW-packages/issues/1580 and
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69506
>
> My apologies if I missed something in the contributing/sending a patch
> guidelines.
>
> Regards,
>
> Index: libstdc++-v3/config/os/mingw32-w64/os_defines.h
> ===================================================================
> --- libstdc++-v3/config/os/mingw32-w64/os_defines.h (revision 247489)
> +++ libstdc++-v3/config/os/mingw32-w64/os_defines.h (working copy)
> @@ -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
>
Looks good, go ahead and apply.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170502/e2cb083d/attachment.sig>
More information about the Gcc-patches
mailing list