From 30ea2fa93314e5b6ce3f58beaffe37f04ba76ac8 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 7 Apr 2006 21:45:23 +0000 Subject: [PATCH] Invert the tests on LLVMGCC_MAJVERS to check for value 4 instead of value 3. This ensures that if llvm-gcc isn't available and consequently the value of LLVMGCC_MAJVERS is blank, that the old (include runtime) behavior will persist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27499 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile | 2 +- runtime/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d3c6e6c0fdd..5a25a799b2f 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ ifeq ($(MAKECMDGOALS),tools-only) else ifneq ($(MAKECMDGOALS),libs-only) DIRS += tools - ifeq ($(LLVMGCC_MAJVERS),3) + ifneq ($(LLVMGCC_MAJVERS),4) DIRS += runtime else $(warning Skipping runtime libraries, llvm-gcc 4 detected.) diff --git a/runtime/Makefile b/runtime/Makefile index f8b6ba63f85..8d6f0ff5961 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -10,7 +10,7 @@ LEVEL = .. include $(LEVEL)/Makefile.config -ifneq ($(LLVMGCC_MAJVERS),3) +ifeq ($(LLVMGCC_MAJVERS),4) PARALLEL_DIRS := install all:: $(Echo) "Warning: These runtime libraries only need to be built with" -- 2.34.1