diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-04-06 22:15:51 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-04-06 22:15:51 +0000 |
commit | 93bc3cdd43a7f4e764049d12bd6aad019b834432 (patch) | |
tree | 193a9b1f603a1350e3dcfd7387f2a616d8a968ec /runtime/Makefile | |
parent | caad163496a3ad207a75009f4ad16bae1b1527ae (diff) | |
download | external_llvm-93bc3cdd43a7f4e764049d12bd6aad019b834432.zip external_llvm-93bc3cdd43a7f4e764049d12bd6aad019b834432.tar.gz external_llvm-93bc3cdd43a7f4e764049d12bd6aad019b834432.tar.bz2 |
Avoid building the runtime libraries if llvm-gcc version 4 is detected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/Makefile')
-rw-r--r-- | runtime/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/Makefile b/runtime/Makefile index a1c0152..1c474df 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 |