diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-04-07 21:45:23 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-04-07 21:45:23 +0000 |
commit | 30ea2fa93314e5b6ce3f58beaffe37f04ba76ac8 (patch) | |
tree | 71af4dad0f53815ee1da823c572e8903f120e477 | |
parent | 664ade71b9f210333574788876fb8392a93f375a (diff) |
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
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | runtime/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 f8b6ba63f8..8d6f0ff596 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" |