summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-16 00:20:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-16 00:20:29 +0000
commit1132cf7dac918b0b8134aeb686e90bcc69e53b94 (patch)
tree7efe7bd2cd15bc92b746592d7eb513cc7dce363f /make
parent23d1542758b351aca24b4a99b4947e9e1fa97c43 (diff)
build/darwin_bni: Add a consistency check.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@144738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'make')
-rw-r--r--make/platform/darwin_bni.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/platform/darwin_bni.mk b/make/platform/darwin_bni.mk
index 477e072de..eddac8b50 100644
--- a/make/platform/darwin_bni.mk
+++ b/make/platform/darwin_bni.mk
@@ -6,6 +6,9 @@ Configs := Debug Release Profile Static
# We override this with RC_ARCHS because B&I may want to build on an ARCH we
# haven't explicitly defined support for. If all goes well, this will just work
# and the resulting lib will just have generic versions for anything unknown.
+ifndef RC_ARCHS
+$(error "unexpected build of 'darwin_bni' platform without RC_ARCHS set")
+endif
UniversalArchs := $(RC_ARCHS)
ifneq (,$(SDKROOT))