mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-10 18:37:01 +00:00
include/llvm/Support/Compiler.h: Invalidate LLVM_ATTRIBUTE_WEAK on cygming for now.
It triggers generating insane executables with both binutils-2.19.1(msysgit) and 2.22.51.20111013(cygwin). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ff70467aa2
commit
283b419aea
@ -61,7 +61,7 @@
|
|||||||
#define LLVM_ATTRIBUTE_READONLY
|
#define LLVM_ATTRIBUTE_READONLY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (__GNUC__ >= 4)
|
#if (__GNUC__ >= 4) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
||||||
#define LLVM_ATTRIBUTE_WEAK __attribute__((__weak__))
|
#define LLVM_ATTRIBUTE_WEAK __attribute__((__weak__))
|
||||||
#else
|
#else
|
||||||
#define LLVM_ATTRIBUTE_WEAK
|
#define LLVM_ATTRIBUTE_WEAK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user