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
This commit is contained in:
Reid Spencer 2006-04-07 21:45:23 +00:00
parent 664ade71b9
commit 30ea2fa933
2 changed files with 2 additions and 2 deletions

View File

@ -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.)

View 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"