Invert the tests on LLVMGCC_MAJVERS to check for value 4 instead of value
authorReid Spencer <rspencer@reidspencer.com>
Fri, 7 Apr 2006 21:45:23 +0000 (21:45 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 7 Apr 2006 21:45:23 +0000 (21:45 +0000)
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
runtime/Makefile

index d3c6e6c0fdd7c0c7d18af3c082774559093f49c7..5a25a799b2ff93be26e63f2b38134cd639bedcba 100644 (file)
--- 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.)
index f8b6ba63f857a10230efecd97f3954daf8a064e2..8d6f0ff5961dbf753bd898c89a057d63b840c794 100644 (file)
@@ -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"