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
commit4663bb0d5fd568e0b566c28066e2ffc831e76868 (patch)
treee9fa0d5f523f3e148e52dcf0321d6a063a2f5da3 /media-libs/xine-lib
parentarm KEYWORDS (diff)
downloadgentoo-2-4663bb0d5fd568e0b566c28066e2ffc831e76868.tar.gz
gentoo-2-4663bb0d5fd568e0b566c28066e2ffc831e76868.tar.bz2
gentoo-2-4663bb0d5fd568e0b566c28066e2ffc831e76868.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.