diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-04-28 23:36:26 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-04-28 23:36:26 +0000 |
commit | 6e45cbcba1807c01ce2fc9a768ebfffafcffa22d (patch) | |
tree | c8ceccd5b4c12ba8bc51010c804687a3fda3b01c | |
parent | 5e2a8ac6599f0c68b14afb2f328ac98b264f770a (diff) |
build: Add CLANG_NO_RUNTIME build variable, which disables building clang
runtime library stuff, even if compiler-rt is available.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102560 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Runtime/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Runtime/Makefile b/lib/Runtime/Makefile index 9a3c34719c..580215acb6 100644 --- a/lib/Runtime/Makefile +++ b/lib/Runtime/Makefile @@ -26,6 +26,7 @@ PROJ_resources_lib := $(PROJ_resources)/lib # 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 @@ install-local:: $(RuntimeDirs:%=RuntimeLibraryInstall.%) clean-local:: CleanRuntimeLibraries endif +endif |