From afd131ed0b33e0d04cc8b643bfa891e6cb94281d Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 7 Apr 2006 08:10:09 +0000 Subject: [PATCH] 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 --- Makefile.rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.rules b/Makefile.rules index 3449d3eadf7..933bf0edd9e 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.