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