diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2010-10-28 11:43:33 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2010-10-28 11:43:33 +0000 |
commit | e2a6fc46c4052802d976124a8885ca0da211db9c (patch) | |
tree | bebff000b00671a1b22d3e491a5df31dd844bbfe /eclass/xorg-2.eclass | |
parent | Version bump. (diff) | |
download | gentoo-2-e2a6fc46c4052802d976124a8885ca0da211db9c.tar.gz gentoo-2-e2a6fc46c4052802d976124a8885ca0da211db9c.tar.bz2 gentoo-2-e2a6fc46c4052802d976124a8885ca0da211db9c.zip |
Filter bdirect support in eclass rather than per package since it is broken in probably all libs (based on my small testing)
Diffstat (limited to 'eclass/xorg-2.eclass')
-rw-r--r-- | eclass/xorg-2.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index 31a47cc5946d..237dcfb484c0 100644 --- a/eclass/xorg-2.eclass +++ b/eclass/xorg-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.14 2010/10/23 20:53:13 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.15 2010/10/28 11:43:33 scarabeus Exp $ # # @ECLASS: xorg-2.eclass # @MAINTAINER: @@ -257,6 +257,11 @@ xorg-2_flags_setup() { [[ ${CHOST} == *-winnt* ]] && append-cppflags -DWIN32 -D__STDC__ # hardened ldflags [[ ${PN} = xorg-server || -n ${DRIVER} ]] && append-ldflags -Wl,-z,lazy + + # Quite few packages fail on runtime without these: + filter-flags -Wl,-Bdirect + filter-ldflags -Bdirect + filter-ldflags -Wl,-Bdirect } # @FUNCTION: xorg-2_src_configure |