_disable_altivec_on_ppc_linux
authorDebian BOINC Maintainers <pkg-boinc-devel@lists.alioth.debian.org>
Thu, 17 May 2018 08:09:59 +0000 (09:09 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Thu, 17 May 2018 08:09:59 +0000 (09:09 +0100)
Gbp-Pq: Name 004_disable_altivec_on_ppc_linux.patch

client/Makefile.am

index 233b632f738cf6cb68e170f6d2d298d1c10e4e82..d83065e11637196ca7bfaeaa345d2ec1d311408a 100644 (file)
@@ -199,7 +199,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 \
@@ -213,6 +214,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