summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-05 06:34:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-05 06:34:06 +0000
commit32beac445212500e01219c52016e3611ed7d8cb5 (patch)
tree48535ab1e1787c02f367b3a2f94e5e9974200a32 /media-libs/libmad/libmad-0.15.1b.ebuild
parentAdd SVN snapshot. (diff)
downloadhistorical-32beac445212500e01219c52016e3611ed7d8cb5.tar.gz
historical-32beac445212500e01219c52016e3611ed7d8cb5.tar.bz2
historical-32beac445212500e01219c52016e3611ed7d8cb5.zip
Append -fno-strict-aliasing on PPC. Thanks to Andy Botting for reporting, and for Andreas Arens and Joe Jezak for testing in bug #140422.
Package-Manager: portage-2.1.2_pre2-r3
Diffstat (limited to 'media-libs/libmad/libmad-0.15.1b.ebuild')
-rw-r--r--media-libs/libmad/libmad-0.15.1b.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/media-libs/libmad/libmad-0.15.1b.ebuild b/media-libs/libmad/libmad-0.15.1b.ebuild
index 698db978435a..b4f82202fde2 100644
--- a/media-libs/libmad/libmad-0.15.1b.ebuild
+++ b/media-libs/libmad/libmad-0.15.1b.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b.ebuild,v 1.26 2006/10/04 17:37:27 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b.ebuild,v 1.27 2006/10/05 06:34:06 flameeyes Exp $
-inherit eutils
+inherit eutils flag-o-matic
DESCRIPTION="\"M\"peg \"A\"udio \"D\"ecoder library"
HOMEPAGE="http://mad.sourceforge.net"
@@ -22,11 +22,13 @@ src_unpack() {
}
src_compile() {
+ use ppc && append-flags -fno-strict-aliasing
+
local myconf="--enable-accuracy"
- # --enable-speed optimize for speed over accuracy
- # --enable-accuracy optimize for accuracy over speed
- # --enable-experimental enable code using the EXPERIMENTAL
- # preprocessor define
+ # --enable-speed optimize for speed over accuracy
+ # --enable-accuracy optimize for accuracy over speed
+ # --enable-experimental enable code using the EXPERIMENTAL
+ # preprocessor define
# Fix for b0rked sound on sparc64 (maybe also sparc32?)
# default/approx is also possible, uses less cpu but sounds worse