_disable_altivec_on_ppc_linux
authorDebian BOINC Maintainers <pkg-boinc-devel@lists.alioth.debian.org>
Tue, 28 Aug 2012 03:05:07 +0000 (03:05 +0000)
committerGuo Yixuan <culu.gyx@gmail.com>
Tue, 28 Aug 2012 03:05:07 +0000 (03:05 +0000)
Gbp-Pq: Name 004_disable_altivec_on_ppc_linux.patch

client/Makefile.am

index 413909e5d7a2073d24973fbe26dfc3a0adb772ca..35660455e62306519150ae3224b84f527c2e5487 100644 (file)
@@ -195,7 +195,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 \
@@ -209,6 +210,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