Windows linker doesn't really support WEAK symbols, not even with gcc10. binutils 2.3.5 fails to link because not all symbols were exported

This commit is contained in:
Riccardo Mottola 2020-09-17 23:46:37 +02:00
parent 26eabb996c
commit 18dfe7b8f6

View file

@ -85,7 +85,7 @@
/* platforms which do not support weak */
#if (__GNUC__ == 3) && defined (__WIN32)
#if defined (__WIN32)
#define WEAK_ATTRIBUTE
#undef SUPPORT_WEAK
#else