[SCM] mplayer/master: Fix build failure on sparc after recent binutils change.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sat Oct 29 08:41:38 UTC 2011
The following commit has been merged in the master branch:
commit 06de0b49583c4d7f8d17effe903f406d080473fd
Author: Reinhard Tartler <siretart at tauware.de>
Date: Sat Oct 29 10:28:53 2011 +0200
Fix build failure on sparc after recent binutils change.
when run on a sparc64 kernel, configure will normally select v9 asm.
this is hidden when running on buildds with 32bit kernel personality.
because of #644856, this will currently lead to a FTBFS
therefore, we force a 'generic' target.
diff --git a/debian/rules b/debian/rules
index 187a113..b00cda6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,6 +69,13 @@ endif
ifeq ($(DEB_HOST_ARCH),powerpc)
CONFIGURE_FLAGS += --enable-runtime-cpudetection
endif
+# when run on a sparc64 kernel, configure will normally select v9 asm.
+# this is hidden when running on buildds with 32bit kernel personality.
+# because of #644856, this will currently lead to a FTBFS
+# therefore, we force a 'generic' target.
+ifeq ($(DEB_HOST_GNU_CPU),sparc)
+ confflags += --target=generic
+endif
ifeq ($(DEB_HOST_ARCH),alpha)
#Avoid high optimization through gcc.
# see http://permalink.gmane.org/gmane.linux.debian.ports.alpha/7295
--
mplayer packaging
More information about the pkg-multimedia-commits
mailing list