summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-07-28 02:18:38 +0000
committerTravis Tilley <lv@gentoo.org>2004-07-28 02:18:38 +0000
commitf8cd195511ec9f81b9d7eb8197f0546c471a27cd (patch)
treecb99d4bdacb8b9b3adeafb3644a48cc6b2b61dd5 /eclass
parentVersion bump, resolve bug #58205. Thanks to: Anders Hellgren <andh@gentoo.se>. (diff)
downloadhistorical-f8cd195511ec9f81b9d7eb8197f0546c471a27cd.tar.gz
historical-f8cd195511ec9f81b9d7eb8197f0546c471a27cd.tar.bz2
historical-f8cd195511ec9f81b9d7eb8197f0546c471a27cd.zip
cockblock amd64 from the -fno-pic logic, as it will randomly break stuff
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index dbf7e74e0add..2700db68fe3a 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.65 2004/07/27 19:25:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.66 2004/07/28 02:18:38 lv Exp $
#
# Author Bart Verwilst <verwilst@gentoo.org>
@@ -412,6 +412,9 @@ etexec-flags() {
# if you're not using a hardened compiler you wont need this
# PIC/no-pic kludge in the first place.
has_hardened || return 0
+ # this kludge breaks on amd64, and probably other -fPIC dependant
+ # archs.
+ use amd64 && return 0
if has_pie || has_pic; then
[ -z "`is-flag -fno-pic`" ] &&