1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

A saner workaround. I hope.

llvm-svn: 27483
This commit is contained in:
Evan Cheng 2006-04-07 08:31:56 +00:00
parent 16cd1588dd
commit 29e481eeff

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)