diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-06-30 07:55:53 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-06-30 07:55:53 +0000 |
commit | 8b679d581a23212834f2ed69c4b629bb6f97cf1a (patch) | |
tree | 4c5caf3b245046c9b5e9a80e313761792baffc96 /eclass/x-modular.eclass | |
parent | Stable on ppc64 (diff) | |
download | historical-8b679d581a23212834f2ed69c4b629bb6f97cf1a.tar.gz historical-8b679d581a23212834f2ed69c4b629bb6f97cf1a.tar.bz2 historical-8b679d581a23212834f2ed69c4b629bb6f97cf1a.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 |