aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-06-14 20:00:25 +0000
committerNico Weber <nicolasweber@gmx.de>2012-06-14 20:00:25 +0000
commit34fd6e9cc2599058d6fbff135808cfabe215ab58 (patch)
tree0b24ee2b35d972b43591d3e0e608c1c608c2b143
parent4555d5b4717e92c1eb32fe816660986ced910b0f (diff)
downloadllvm-34fd6e9cc2599058d6fbff135808cfabe215ab58.zip
llvm-34fd6e9cc2599058d6fbff135808cfabe215ab58.tar.gz
llvm-34fd6e9cc2599058d6fbff135808cfabe215ab58.tar.bz2
Don't build compiler-rt arm code on darwin. Fixes PR12918.
I'm not sure if this is the right fix, but this has been broken for two weeks and pleas for review were ignored. It seems to do the right thing. llvm-svn: 158466
-rw-r--r--compiler-rt/make/platform/clang_darwin.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/make/platform/clang_darwin.mk b/compiler-rt/make/platform/clang_darwin.mk
index 96fc942..d3f7748 100644
--- a/compiler-rt/make/platform/clang_darwin.mk
+++ b/compiler-rt/make/platform/clang_darwin.mk
@@ -12,6 +12,7 @@ CheckArches = \
$(shell \
result=""; \
for arch in $(1); do \
+ if [ "$$arch" = "armv6" -o "$$arch" = "armv7" ]; then continue; fi; \
if $(CC) -arch $$arch -c \
-integrated-as \
$(ProjSrcRoot)/make/platform/clang_darwin_test_input.c \