aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/Makefile b/runtime/Makefile
index 3ddf2bdf43..5910b3aa03 100644
--- a/runtime/Makefile
+++ b/runtime/Makefile
@@ -21,6 +21,12 @@ install all ::
@echo '********' Warning: and re-run configure if it does not.
endif
+# Disable libprofile: a faulty libtool is generated by autoconf which breaks the
+# build on Sparc
+ifeq ($(ARCH), Sparc)
+PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
+endif
+
include $(LEVEL)/Makefile.common
# Install target for libraries: Copy into $LLVMGCCDIR/bytecode-libs