A saner workaround. I hope.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27483 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2006-04-07 08:31:56 +00:00
parent afd131ed0b
commit 4d0586be0f

View File

@ -367,9 +367,11 @@ ifdef UNIVERSAL
DISABLE_AUTO_DEPENDENCIES=1 DISABLE_AUTO_DEPENDENCIES=1
endif endif
# Temporary workaround for a Mac OSX specific issue. # Temporary workaround for a Mac OSX / x86 compatibility issue.
ifdef NO_CXA_ATEXIT ifeq ($(OS),Darwin)
CompileCommonOpts += -fno-use-cxa-atexit ifeq ($(ARCH),x86)
CXX.Flags += -fno-use-cxa-atexit
endif
endif endif
LD.Flags += -L$(LibDir) -L$(LLVMLibDir) LD.Flags += -L$(LibDir) -L$(LLVMLibDir)