summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-03 20:25:24 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-03 20:25:24 +0000
commitb4192c553535cceafa0dacf7eb840290a8994cd0 (patch)
treeba3653b22768c40d587bd644b9583f6883bba388 /media-libs/xine-lib
parentarm KEYWORDS (diff)
downloadhistorical-b4192c553535cceafa0dacf7eb840290a8994cd0.tar.gz
historical-b4192c553535cceafa0dacf7eb840290a8994cd0.tar.bz2
historical-b4192c553535cceafa0dacf7eb840290a8994cd0.zip
also no sse2 on gcc-3.4 #49694
Diffstat (limited to 'media-libs/xine-lib')
-rw-r--r--media-libs/xine-lib/xine-lib-1_rc4.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/media-libs/xine-lib/xine-lib-1_rc4.ebuild b/media-libs/xine-lib/xine-lib-1_rc4.ebuild
index 429b39065309..aac60717eed4 100644
--- a/media-libs/xine-lib/xine-lib-1_rc4.ebuild
+++ b/media-libs/xine-lib/xine-lib-1_rc4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1_rc4.ebuild,v 1.5 2004/05/03 16:21:56 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1_rc4.ebuild,v 1.6 2004/05/03 20:25:24 vapier Exp $
inherit eutils flag-o-matic gcc libtool
@@ -77,12 +77,10 @@ src_compile() {
filter-flags -fforce-addr
# fix build errors with sse2
- if [ "`gcc-version`" == "3.2" ]; then
- use x86 && append-flags -mno-sse2
- fi
-
- if [ "`gcc-version`" == "3.3" ]; then
- use x86 && append-flags -mno-sse2
+ if use x86 ; then
+ [ "`gcc-version`" == "3.2" ] && append-flags -mno-sse2
+ [ "`gcc-version`" == "3.3" ] && append-flags -mno-sse2
+ [ "`gcc-version`" == "3.4" ] && append-flags -mno-sse2
fi
# Use the built-in dvdnav plugin.