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
endif
# Temporary workaround for a Mac OSX specific issue.
ifdef NO_CXA_ATEXIT
CompileCommonOpts += -fno-use-cxa-atexit
# Temporary workaround for a Mac OSX / x86 compatibility issue.
ifeq ($(OS),Darwin)
ifeq ($(ARCH),x86)
CXX.Flags += -fno-use-cxa-atexit
endif
endif
LD.Flags += -L$(LibDir) -L$(LLVMLibDir)