]> granicus.if.org Git - clang/commitdiff
build: Use CLANG_NO_RUNTIME=1 specifically, not just any definition.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 22 Dec 2010 22:23:39 +0000 (22:23 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 22 Dec 2010 22:23:39 +0000 (22:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122449 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/Makefile

index 4307604b8a881d9bc0c020c3d3a1091e70065552..36197224426d6c4f2257698b5ec216b1dd479af5 100644 (file)
@@ -28,7 +28,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
+ifneq ($(CLANG_NO_RUNTIME),1)
 ifeq ($(shell test -d $(COMPILERRT_SRC_ROOT) && echo OK),OK)
 
 # Select the compiler-rt configuration to use, and install directory.