[llvm-branch-commits] [cfe-branch] r102563 - /cfe/branches/Apple/williamson/lib/Runtime/Makefile
Daniel Dunbar
daniel at zuster.org
Wed Apr 28 16:45:15 PDT 2010
Author: ddunbar
Date: Wed Apr 28 18:45:15 2010
New Revision: 102563
URL: http://llvm.org/viewvc/llvm-project?rev=102563&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/branches/Apple/williamson/lib/Runtime/Makefile
Modified: cfe/branches/Apple/williamson/lib/Runtime/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/williamson/lib/Runtime/Makefile?rev=102563&r1=102562&r2=102563&view=diff
==============================================================================
--- cfe/branches/Apple/williamson/lib/Runtime/Makefile (original)
+++ cfe/branches/Apple/williamson/lib/Runtime/Makefile Wed Apr 28 18:45:15 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 llvm-branch-commits
mailing list