diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2006-06-30 07:55:53 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2006-06-30 07:55:53 +0000 |
commit | 14ca6750704448f5b62b3daf9c398b5142046c59 (patch) | |
tree | 8f3b3dca7451bbd70a1e15b8a4cfb3b34e86c344 /eclass/x-modular.eclass | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-14ca6750704448f5b62b3daf9c398b5142046c59.tar.gz gentoo-2-14ca6750704448f5b62b3daf9c398b5142046c59.tar.bz2 gentoo-2-14ca6750704448f5b62b3daf9c398b5142046c59.zip |
Restore the old gcc-specs-now check as well until binutils gets fixed.
Diffstat (limited to 'eclass/x-modular.eclass')
-rw-r--r-- | eclass/x-modular.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass index c0e6792f286c..8f927d742e71 100644 --- a/eclass/x-modular.eclass +++ b/eclass/x-modular.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.64 2006/06/30 07:34:11 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.65 2006/06/30 07:55:53 spyderous Exp $ # # Author: Donnie Berkholz <spyderous@gentoo.org> # @@ -171,6 +171,12 @@ RDEPEND="${RDEPEND} x-modular_specs_check() { if [[ ${PN:0:11} = "xorg-server" ]] || [[ -n "${DRIVER}" ]]; then + if gcc-specs-now; then + msg="${PN} does not work with hardened gcc specs. Switch to vanilla gcc specs to emerge ${PN}." + eerror "$msg" + die "$msg" + fi + append-ldflags -Wl,-z,lazy # (#116698) breaks loading filter-ldflags -Wl,-z,now |