[llvm-commits] [compiler-rt] r103852 - /compiler-rt/trunk/make/platform/darwin_bni.mk
Nick Kledzik
kledzik at apple.com
Fri May 14 18:42:04 PDT 2010
Author: kledzik
Date: Fri May 14 20:42:04 2010
New Revision: 103852
URL: http://llvm.org/viewvc/llvm-project?rev=103852&view=rev
Log:
<rdar://problem/7987491> Libcompiler_rt isn't platform aware
Modified:
compiler-rt/trunk/make/platform/darwin_bni.mk
Modified: compiler-rt/trunk/make/platform/darwin_bni.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/darwin_bni.mk?rev=103852&r1=103851&r2=103852&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/darwin_bni.mk (original)
+++ compiler-rt/trunk/make/platform/darwin_bni.mk Fri May 14 20:42:04 2010
@@ -8,6 +8,12 @@
# and the resulting lib will just have generic versions for anything unknown.
UniversalArchs := $(RC_ARCHS)
+ifeq (,$(SDKROOT))
+else
+ CC.Release := /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cc
+ CC.Static := /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cc
+endif
+
CFLAGS := -Wall -Os -fomit-frame-pointer -g
CFLAGS.Static := $(CFLAGS) -static
More information about the llvm-commits
mailing list