_disable_altivec_on_ppc_linux
authorDebian BOINC Maintainers <pkg-boinc-devel@lists.alioth.debian.org>
Tue, 30 Sep 2014 12:49:40 +0000 (12:49 +0000)
committerGianfranco Costamagna <costamagnagianfranco@yahoo.it>
Tue, 30 Sep 2014 12:49:40 +0000 (12:49 +0000)
Gbp-Pq: Name 004_disable_altivec_on_ppc_linux.patch

client/Makefile.am

index f9c823608f7e85f55841b458041972b8d6c92eda..4a61db7b6033670dc7b3b58ad6b2eebdfc9f66c2 100644 (file)
@@ -198,7 +198,8 @@ endif
 endif
 
 if PPC
-# allow use of altivec instructions on PPC
+if !LINUX
+# allow use of altivec instructions on PPC/MacOS
 seti_boinc-analyzeFuncs_altivec.o:  vector/analyzeFuncs_altivec.cpp
        if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(seti_boinc_CXXFLAGS) $(CXXFLAGS) -DUSE_ALTIVEC \
@@ -212,6 +213,7 @@ seti_boinc-analyzeFuncs_vector.o:  vector/analyzeFuncs_vector.cpp
        -c -o $@ $<; then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
        else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
 endif
+endif
 
 
 if LINUX