[cfe-commits] r102560 - /cfe/trunk/lib/Runtime/Makefile

Daniel Dunbar daniel at zuster.org
Wed Apr 28 16:36:26 PDT 2010


Author: ddunbar
Date: Wed Apr 28 18:36:26 2010
New Revision: 102560

URL: http://llvm.org/viewvc/llvm-project?rev=102560&view=rev
Log:
build: Add CLANG_NO_RUNTIME build variable, which disables building clang
runtime library stuff, even if compiler-rt is available.

Modified:
    cfe/trunk/lib/Runtime/Makefile

Modified: cfe/trunk/lib/Runtime/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Runtime/Makefile?rev=102560&r1=102559&r2=102560&view=diff
==============================================================================
--- cfe/trunk/lib/Runtime/Makefile (original)
+++ cfe/trunk/lib/Runtime/Makefile Wed Apr 28 18:36:26 2010
@@ -26,6 +26,7 @@
 # Expect compiler-rt to be in llvm/projects/compiler-rt
 COMPILERRT_SRC_ROOT := $(LLVM_SRC_ROOT)/projects/compiler-rt
 
+ifndef CLANG_NO_RUNTIME
 ifeq ($(shell test -d $(COMPILERRT_SRC_ROOT) && echo OK),OK)
 
 # Select the compiler-rt configuration to use, and install directory.
@@ -97,3 +98,4 @@
 clean-local:: CleanRuntimeLibraries
 
 endif
+endif





More information about the cfe-commits mailing list