Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit d692114

Browse files
committed
build/clang_darwin: Set CC before trying to run CheckArches.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144661 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 0ae9d25 commit d692114

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make/platform/clang_darwin.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ CheckArches = \
2222

2323
###
2424

25+
CC := clang
26+
2527
Configs :=
2628
UniversalArchs :=
2729

@@ -67,8 +69,6 @@ endif
6769

6870
###
6971

70-
CC := clang
71-
7272
# Forcibly strip off any -arch, as that totally breaks our universal support.
7373
override CC := $(subst -arch ,-arch_,$(CC))
7474
override CC := $(patsubst -arch_%,,$(CC))

0 commit comments

Comments
 (0)