forked from OSchip/llvm-project
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). llvm-svn: 144621
This commit is contained in:
parent
2d8d63a927
commit
f01faac473
|
@ -61,7 +61,7 @@
|
|||
#define LLVM_ATTRIBUTE_READONLY
|
||||
#endif
|
||||
|
||||
#if (__GNUC__ >= 4)
|
||||
#if (__GNUC__ >= 4) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
||||
#define LLVM_ATTRIBUTE_WEAK __attribute__((__weak__))
|
||||
#else
|
||||
#define LLVM_ATTRIBUTE_WEAK
|
||||
|
|
Loading…
Reference in New Issue