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 | 92d5c1a4bfb11b27cf34de475525521aede23aa5 (patch) | |
| tree | c524e23334c515b43ded67d9d90d7351bcd0b3bf | |
| parent | 12c82080a281ae2e55a97a634c7636f8c9f16a9c (diff) | |
| download | bcm5719-llvm-92d5c1a4bfb11b27cf34de475525521aede23aa5.tar.gz bcm5719-llvm-92d5c1a4bfb11b27cf34de475525521aede23aa5.zip | |
build: Add CLANG_NO_RUNTIME build variable, which disables building clang
runtime library stuff, even if compiler-rt is available.
llvm-svn: 102560
| -rw-r--r-- | clang/lib/Runtime/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Runtime/Makefile b/clang/lib/Runtime/Makefile index 9a3c34719cf..580215acb62 100644 --- a/clang/lib/Runtime/Makefile +++ b/clang/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 |

