Stacker compiler library doesn't need to be shared and it can cause
[oota-llvm.git] / projects / Makefile
index ab4c7e283d8559ed104e6829b317ae00680cdd62..1e89f6d91bdd3bd9e64bc86aca510c5f3a057e84 100644 (file)
@@ -12,4 +12,10 @@ include $(LEVEL)/Makefile.config
 
 DIRS:= $(filter-out llvm-test,$(patsubst $(SourceDir)/%/Makefile,%,$(wildcard $(SourceDir)/*/Makefile)))
 
+# Sparc cannot link shared libraries (libtool problem?) which Stacker uses
+ifeq ($(ARCH), Sparc)
+DIRS := $(filter-out Stacker, $(DIRS))
+DIRS := $(filter-out sample, $(DIRS))
+endif
+
 include $(BUILD_SRC_ROOT)/Makefile.rules