Index: llvm-3.6svn/projects/compiler-rt/make/platform/clang_darwin.mk
===================================================================
--- llvm-3.6svn.orig/projects/compiler-rt/make/platform/clang_darwin.mk
+++ llvm-3.6svn/projects/compiler-rt/make/platform/clang_darwin.mk
@@ -53,11 +53,11 @@ XCRunSdkPath = \
 
 CC       := $(call XCRun,clang)
 LD       := $(shell $(CC) -print-prog-name=ld)
-AR       := $(call XCRun,ar)
-RANLIB   := $(call XCRun,ranlib)
-STRIP    := $(call XCRun,strip)
-LIPO     := $(call XCRun,lipo)
-DSYMUTIL := $(call XCRun,dsymutil)
+AR       := @@PREFIX@@/bin/ar
+RANLIB   := @@PREFIX@@/bin/ranlib
+STRIP    := @@PREFIX@@/bin/strip
+LIPO     := @@PREFIX@@/bin/lipo
+DSYMUTIL := @@PREFIX@@/bin/dsymutil
 
 OSX_SDK := $(call XCRunSdkPath,macosx)
 IOS_SDK := $(call XCRunSdkPath,iphoneos)
Index: llvm-3.6svn/projects/compiler-rt/make/platform/clang_macho_embedded.mk
===================================================================
--- llvm-3.6svn.orig/projects/compiler-rt/make/platform/clang_macho_embedded.mk
+++ llvm-3.6svn/projects/compiler-rt/make/platform/clang_macho_embedded.mk
@@ -33,11 +33,11 @@ XCRun = \
 ###
 
 CC       := $(call XCRun,clang)
-AR       := $(call XCRun,ar)
-RANLIB   := $(call XCRun,ranlib)
-STRIP    := $(call XCRun,strip)
-LIPO     := $(call XCRun,lipo)
-DSYMUTIL := $(call XCRun,dsymutil)
+AR       := @@PREFIX@@/bin/ar
+RANLIB   := @@PREFIX@@/bin/ranlib
+STRIP    := @@PREFIX@@/bin/strip
+LIPO     := @@PREFIX@@/bin/lipo
+DSYMUTIL := @@PREFIX@@/bin/dsymutil
 
 Configs :=
 UniversalArchs :=
