Fix universal builds to not use -XCClinker (a libtool thing) now that

libtool doesn't exist.

llvm-svn: 65561
This commit is contained in:
Chris Lattner 2009-02-26 19:08:30 +00:00
parent e2617d97a5
commit 659ed19150
1 changed files with 2 additions and 2 deletions

View File

@ -480,10 +480,10 @@ ifdef UNIVERSAL
endif
UNIVERSAL_ARCH_OPTIONS := $(UNIVERSAL_ARCH:%=-arch %)
CompileCommonOpts += $(UNIVERSAL_ARCH_OPTIONS)
Relink.Flags := $(UNIVERSAL_ARCH_OPTIONS:%=-XCClinker %)
Relink.Flags := $(UNIVERSAL_ARCH_OPTIONS)
ifdef UNIVERSAL_SDK_PATH
CompileCommonOpts += -isysroot $(UNIVERSAL_SDK_PATH)
Relink.Flags += -XCClinker -isysroot -XCClinker $(UNIVERSAL_SDK_PATH)
Relink.Flags += -isysroot $(UNIVERSAL_SDK_PATH)
endif
# Building universal cannot compute dependencies automatically.