[SCM] mplayer2/master: Fix build failure on sparc after recent binutils change.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Oct 9 18:33:02 UTC 2011


The following commit has been merged in the master branch:
commit 992bf949037d0fafb69e87cbcc57393e528ef265
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sun Oct 9 20:23:23 2011 +0200

    Fix build failure on sparc after recent binutils change.
    
    Pass extra flags to the assembler when compiling on sparc.  This change
    is the result of the following discussion:
    
    http://thread.gmane.org/gmane.linux.debian.devel.wb-team/1512

diff --git a/debian/rules b/debian/rules
index 2847016..a841e21 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,9 @@ endif
 ifeq ($(DEB_HOST_GNU_CPU),powerpc)
 	confflags += --enable-runtime-cpudetection
 endif
+ifeq ($(DEB_HOST_GNU_CPU),sparc)
+        confflags += --extra-cflags='-Wa,-Av8'
+endif
 
 %:
 	dh $@

-- 
mplayer2 packaging



More information about the pkg-multimedia-commits mailing list