[llvm-commits] [compiler-rt] r144913 - /compiler-rt/trunk/make/platform/clang_darwin.mk
Daniel Dunbar
daniel at zuster.org
Thu Nov 17 09:47:23 PST 2011
Author: ddunbar
Date: Thu Nov 17 11:47:22 2011
New Revision: 144913
URL: http://llvm.org/viewvc/llvm-project?rev=144913&view=rev
Log:
platform/clang_darwin: Fix a refacto and commento.
Modified:
compiler-rt/trunk/make/platform/clang_darwin.mk
Modified: compiler-rt/trunk/make/platform/clang_darwin.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_darwin.mk?rev=144913&r1=144912&r2=144913&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_darwin.mk (original)
+++ compiler-rt/trunk/make/platform/clang_darwin.mk Thu Nov 17 11:47:22 2011
@@ -89,10 +89,10 @@
IOS_DEPLOYMENT_ARGS := -miphoneos-version-min=1.0
IOSSIM_DEPLOYMENT_ARGS := -miphoneos-version-min=1.0
-# If an explicit ARM_SDK build variable is set, use that as the isysroot.
-X86_OSX_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
-ARM_IOS_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
-X86_IOS_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
+# Use our stub SDK as the sysroot to support more portable building.
+OSX_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
+IOS_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
+IOSSIM_DEPLOYMENT_ARGS += -isysroot $(ProjSrcRoot)/SDKs/darwin
CFLAGS.eprintf := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
CFLAGS.10.4 := $(CFLAGS) $(OSX_DEPLOYMENT_ARGS)
More information about the llvm-commits
mailing list