Fix universal builds to not use -XCClinker (a libtool thing) now that
authorChris Lattner <sabre@nondot.org>
Thu, 26 Feb 2009 19:08:30 +0000 (19:08 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 26 Feb 2009 19:08:30 +0000 (19:08 +0000)
libtool doesn't exist.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65561 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 2d5aedf40fcef55d881ebc9c512e1cdcbd1e90d0..56d3a8739edefb302cc6c641d73dcb36a7aaa32f 100644 (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.