[llvm-commits] [compiler-rt] r158466 - /compiler-rt/trunk/make/platform/clang_darwin.mk

Nico Weber nicolasweber at gmx.de
Thu Jun 14 13:00:25 PDT 2012


Author: nico
Date: Thu Jun 14 15:00:25 2012
New Revision: 158466

URL: http://llvm.org/viewvc/llvm-project?rev=158466&view=rev
Log:
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.


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=158466&r1=158465&r2=158466&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_darwin.mk (original)
+++ compiler-rt/trunk/make/platform/clang_darwin.mk Thu Jun 14 15:00:25 2012
@@ -12,6 +12,7 @@
   $(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 \





More information about the llvm-commits mailing list