diff options
| author | Nick Kledzik <kledzik@apple.com> | 2010-05-15 01:42:04 +0000 |
|---|---|---|
| committer | Nick Kledzik <kledzik@apple.com> | 2010-05-15 01:42:04 +0000 |
| commit | 749dc33dff5905b1567d6d529ba4e38e3e5148fd (patch) | |
| tree | dfad2cbff896c101b00756f1fd9185ac4609a36f | |
| parent | 0cbd11dfb29f8ed5b3e428531001b95e116a715f (diff) | |
| download | bcm5719-llvm-749dc33dff5905b1567d6d529ba4e38e3e5148fd.tar.gz bcm5719-llvm-749dc33dff5905b1567d6d529ba4e38e3e5148fd.zip | |
<rdar://problem/7987491> Libcompiler_rt isn't platform aware
llvm-svn: 103852
| -rw-r--r-- | compiler-rt/make/platform/darwin_bni.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler-rt/make/platform/darwin_bni.mk b/compiler-rt/make/platform/darwin_bni.mk index 9cfeffd4a1c..b6ba3c7c920 100644 --- a/compiler-rt/make/platform/darwin_bni.mk +++ b/compiler-rt/make/platform/darwin_bni.mk @@ -8,6 +8,12 @@ Configs := Debug Release Profile Static # 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 |

