summaryrefslogtreecommitdiffstats
path: root/runtime/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/Makefile')
-rw-r--r--runtime/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/runtime/Makefile b/runtime/Makefile
index 9937c11..1e10451 100644
--- a/runtime/Makefile
+++ b/runtime/Makefile
@@ -10,16 +10,9 @@
LEVEL = ..
include $(LEVEL)/Makefile.config
-ifneq ($(wildcard $(LLVMGCC)),)
+ifndef NO_RUNTIME_LIBS
+
PARALLEL_DIRS := libprofile
-else
-PARALLEL_DIRS :=
-install all ::
- @echo '********' Warning: Your LLVMGCCDIR is set incorrectly. Check
- @echo '********' Warning: llvm/Makefile.config to make sure it matches
- @echo '********' Warning: the directory where the C front-end is
- @echo '********' Warning: installed,and re-run configure if it does not.
-endif
# Disable libprofile: a faulty libtool is generated by autoconf which breaks the
# build on Sparc
@@ -27,9 +20,8 @@ ifeq ($(ARCH), Sparc)
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
endif
+endif
+
include $(LEVEL)/Makefile.common
-# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs
-#
install::
-
OpenPOWER on IntegriCloud