[SCM] vlc/squeeze-backports-sloppy: Fix build failure on powerpcspe.

edwardw-guest at users.alioth.debian.org edwardw-guest at users.alioth.debian.org
Sun Jun 9 19:34:48 UTC 2013


The following commit has been merged in the squeeze-backports-sloppy branch:
commit 3843ffea20fca45c308e4cd3ae5d099deaafae1b
Author: Benjamin Drung <bdrung at debian.org>
Date:   Sat Mar 2 00:14:41 2013 +0100

    Fix build failure on powerpcspe.
    
    Thanks: Roland Stigge <stigge at antcom.de>
    Closes: #701830
    (cherry picked from commit 810b977f95bc2f050be3c66e4468d52d7f07e64c)
    
    Signed-off-by: Edward Wang <edward.c.wang at compdigitec.com>

diff --git a/debian/rules b/debian/rules
index 1bc8cce..9e3f270 100755
--- a/debian/rules
+++ b/debian/rules
@@ -189,14 +189,19 @@ confflags += --disable-neon
 removeplugins += neon
 endif
 
-# PowerPC specific optimizations
-ifneq ($(filter $(DEB_HOST_ARCH_CPU),powerpc),)
+# PowerPC specific optimizations (excluding powerpcspe)
+ifeq (,$(filter-out powerpc,$(DEB_HOST_ARCH_CPU))$(filter powerpcspe,$(DEB_HOST_ARCH)))
 confflags += --enable-altivec
 else
 confflags += --disable-altivec
 removeplugins += altivec
 endif
 
+# PowerPCSPE specific optimizations
+ifeq (,$(filter-out powerpcspe,$(DEB_HOST_ARCH))
+confflags += --with-tuning=8548
+endif
+
 %:
 	dh $@ --parallel --with autoreconf
 

-- 
VLC media player packaging



More information about the pkg-multimedia-commits mailing list