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
diff --git a/Makefile b/Makefile
index d3c6e6c..5a25a79 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
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.)