summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2014-11-10 19:38:18 +0000
committerBob Wilson <bob.wilson@apple.com>2014-11-10 19:38:18 +0000
commit7c2a39493c7e0ee26078a380ca0f0890dd7566eb (patch)
treefdd3ec35dc448d65832c00204cf5c970b54d9595 /make
parentf028d70fcadd9b6c4d3ce1dd1af89703e422f6fa (diff)
Clean up indentation after previous change.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
-rw-r--r--make/platform/clang_darwin.mk34
1 files changed, 17 insertions, 17 deletions
diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk
index 7b73dc54a..f08cf83e1 100644
--- a/make/platform/clang_darwin.mk
+++ b/make/platform/clang_darwin.mk
@@ -16,26 +16,26 @@ CheckArches = \
$(shell \
result=""; \
if [ "X$(3)" != X ]; then \
- for arch in $(1); do \
- if $(CC) -arch $$arch -c \
- -integrated-as \
- $(ProjSrcRoot)/make/platform/clang_darwin_test_input.c \
- -isysroot $(3) \
- -o /dev/null > /dev/null 2> /dev/null; then \
- if $(LD) -v 2>&1 | grep "configured to support" \
- | tr ' ' '\n' | grep "^$$arch$$" >/dev/null 2>/dev/null; then \
- result="$$result$$arch "; \
+ for arch in $(1); do \
+ if $(CC) -arch $$arch -c \
+ -integrated-as \
+ $(ProjSrcRoot)/make/platform/clang_darwin_test_input.c \
+ -isysroot $(3) \
+ -o /dev/null > /dev/null 2> /dev/null; then \
+ if $(LD) -v 2>&1 | grep "configured to support" \
+ | tr ' ' '\n' | grep "^$$arch$$" >/dev/null 2>/dev/null; then \
+ result="$$result$$arch "; \
+ else \
+ printf 1>&2 \
+ "warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'";\
+ printf 1>&2 " (ld does not support it)\n"; \
+ fi; \
else \
printf 1>&2 \
- "warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'"; \
- printf 1>&2 " (ld does not support it)\n"; \
+ "warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'"; \
+ printf 1>&2 " (clang does not support it)\n"; \
fi; \
- else \
- printf 1>&2 \
- "warning: clang_darwin.mk: dropping arch '$$arch' from lib '$(2)'"; \
- printf 1>&2 " (clang does not support it)\n"; \
- fi; \
- done; \
+ done; \
fi; \
echo $$result)