summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-06-30 07:55:53 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-06-30 07:55:53 +0000
commit8b679d581a23212834f2ed69c4b629bb6f97cf1a (patch)
tree4c5caf3b245046c9b5e9a80e313761792baffc96 /eclass/x-modular.eclass
parentStable on ppc64 (diff)
downloadhistorical-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.eclass8
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