Temporary workaround for a Mac OSX specific issue.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 7 Apr 2006 08:10:09 +0000 (08:10 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 7 Apr 2006 08:10:09 +0000 (08:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27482 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 3449d3eadf7f87268b978e9f5815b4ddac6a45f5..933bf0edd9ed6f2ef15d99a65d3aeb1f28506226 100644 (file)
@@ -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.