summaryrefslogtreecommitdiff
path: root/runtime/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/Makefile')
-rw-r--r--runtime/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/Makefile b/runtime/Makefile
index a1c0152b75..1c474df09e 100644
--- a/runtime/Makefile
+++ b/runtime/Makefile
@@ -10,6 +10,13 @@
LEVEL = ..
include $(LEVEL)/Makefile.config
+ifneq ($(LLVMGCC_MAJVERS),3)
+PARALLEL_DIRS :=
+install all::
+ $(Echo) "Warning: The runtime libraries only need to be built with"
+ $(Echo) "Warning: llvm-gcc version 3. They are automatically included"
+ $(Echo) "Warning: with llvm-gcc version 4 and beyond"
+else
ifneq ($(wildcard $(LLVMGCC)),)
PARALLEL_DIRS := GCCLibraries libdummy libprofile libtrace GC
else
@@ -26,6 +33,7 @@ endif
ifeq ($(ARCH), Sparc)
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
endif
+endif
include $(LEVEL)/Makefile.common