diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-15 05:24:26 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-15 05:24:26 +0000 |
commit | 283b419aea736f899d1e0de70b2c0355d51d6826 (patch) | |
tree | a8528325b9ed61d5ced575a36aefe4a7434ba2ad /include/llvm/Support/Compiler.h | |
parent | ff70467aa2894e962244da54ff9273772b6167c9 (diff) |
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
Diffstat (limited to 'include/llvm/Support/Compiler.h')
-rw-r--r-- | include/llvm/Support/Compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Compiler.h b/include/llvm/Support/Compiler.h index 14b55c147f..9c5e7ecbae 100644 --- a/include/llvm/Support/Compiler.h +++ b/include/llvm/Support/Compiler.h @@ -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 |