diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-04-07 08:10:09 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-04-07 08:10:09 +0000 |
commit | afd131ed0b33e0d04cc8b643bfa891e6cb94281d (patch) | |
tree | fb65ffa60f7b01619fa4cdd0cc718c0c4fba82a2 /Makefile.rules | |
parent | b9870164694f5921d7057bcc1c8db91b415a60a9 (diff) | |
download | llvm-afd131ed0b33e0d04cc8b643bfa891e6cb94281d.tar.gz llvm-afd131ed0b33e0d04cc8b643bfa891e6cb94281d.tar.bz2 llvm-afd131ed0b33e0d04cc8b643bfa891e6cb94281d.tar.xz |
Temporary workaround for a Mac OSX specific issue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 3449d3eadf..933bf0edd9 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -367,6 +367,11 @@ ifdef UNIVERSAL DISABLE_AUTO_DEPENDENCIES=1 endif +# Temporary workaround for a Mac OSX specific issue. +ifdef NO_CXA_ATEXIT + CompileCommonOpts += -fno-use-cxa-atexit +endif + LD.Flags += -L$(LibDir) -L$(LLVMLibDir) CPP.BaseFlags += -D_GNU_SOURCE -D__STDC_LIMIT_MACROS # All -I flags should go here, so that they don't confuse llvm-config. |