summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-08 22:28:15 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-08 22:28:15 +0000
commit46e6ab80426ec408b84c9affc6dd0d69518dff51 (patch)
treec8630dab7c96839b682c57fd46cac1237d0ede58 /media-libs
parentInitial import, bug #22371 (Manifest recommit) (diff)
downloadgentoo-2-46e6ab80426ec408b84c9affc6dd0d69518dff51.tar.gz
gentoo-2-46e6ab80426ec408b84c9affc6dd0d69518dff51.tar.bz2
gentoo-2-46e6ab80426ec408b84c9affc6dd0d69518dff51.zip
fix -fPIC filtering
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/xine-lib/xine-lib-0.9.13-r3.ebuild3
-rw-r--r--media-libs/xine-lib/xine-lib-1_rc2.ebuild4
-rw-r--r--media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild4
3 files changed, 6 insertions, 5 deletions
diff --git a/media-libs/xine-lib/xine-lib-0.9.13-r3.ebuild b/media-libs/xine-lib/xine-lib-0.9.13-r3.ebuild
index 1c60076ca109..45655a7ab540 100644
--- a/media-libs/xine-lib/xine-lib-0.9.13-r3.ebuild
+++ b/media-libs/xine-lib/xine-lib-0.9.13-r3.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-0.9.13-r3.ebuild,v 1.7 2004/02/02 00:15:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-0.9.13-r3.ebuild,v 1.8 2004/02/08 22:28:15 vapier Exp $
inherit libtool flag-o-matic eutils gcc
@@ -49,6 +49,7 @@ src_unpack() {
src_compile() {
filter-flags -maltivec -mabi=altivec
+ has_version sys-devel/hardened-gcc && filter-flags -fPIC
if [ "`gcc-version`" == "3.2" ] ; then
replace-flags -march=k6-3 -march=i686
replace-flags -march=k6-2 -march=i686
diff --git a/media-libs/xine-lib/xine-lib-1_rc2.ebuild b/media-libs/xine-lib/xine-lib-1_rc2.ebuild
index 889c700ce2b9..9e8773fba870 100644
--- a/media-libs/xine-lib/xine-lib-1_rc2.ebuild
+++ b/media-libs/xine-lib/xine-lib-1_rc2.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_rc2.ebuild,v 1.11 2004/02/08 22:16:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1_rc2.ebuild,v 1.12 2004/02/08 22:28:15 vapier Exp $
inherit eutils flag-o-matic gcc
@@ -51,7 +51,7 @@ src_unpack() {
src_compile() {
filter-flags -maltivec -mabi=altivec -fstack-protector
- filter-flags -fPIC
+ has_version sys-devel/hardened-gcc && filter-flags -fPIC
# fix build errors with sse2
if [ "`gcc-version`" == "3.2" ]; then
diff --git a/media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild b/media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild
index d578406e0e4e..6f82332599c5 100644
--- a/media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild
+++ b/media-libs/xine-lib/xine-lib-1_rc3-r1.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_rc3-r1.ebuild,v 1.11 2004/02/08 22:16:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1_rc3-r1.ebuild,v 1.12 2004/02/08 22:28:15 vapier Exp $
inherit eutils flag-o-matic gcc libtool
@@ -65,8 +65,8 @@ src_unpack() {
}
src_compile() {
- filter-flags -fPIC
filter-flags -maltivec -mabi=altivec -fstack-protector
+ has_version sys-devel/hardened-gcc && filter-flags -fPIC
# fix build errors with sse2
if [ "`gcc-version`" == "3.2" ]; then