[llvm-commits] [compiler-rt] r144738 - /compiler-rt/trunk/make/platform/darwin_bni.mk

Daniel Dunbar daniel at zuster.org
Tue Nov 15 16:20:30 PST 2011


Author: ddunbar
Date: Tue Nov 15 18:20:29 2011
New Revision: 144738

URL: http://llvm.org/viewvc/llvm-project?rev=144738&view=rev
Log:
build/darwin_bni: Add a consistency check.

Modified:
    compiler-rt/trunk/make/platform/darwin_bni.mk

Modified: compiler-rt/trunk/make/platform/darwin_bni.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/darwin_bni.mk?rev=144738&r1=144737&r2=144738&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/darwin_bni.mk (original)
+++ compiler-rt/trunk/make/platform/darwin_bni.mk Tue Nov 15 18:20:29 2011
@@ -6,6 +6,9 @@
 # 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))





More information about the llvm-commits mailing list