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
commitc440c1207a0ade13a07accecd1cefdf6f0d7f1af (patch)
tree21e52386132bf8309ae63ead5d7052da2eaa3cd3 /eclass
parentVersion bump, resolve bug #58205. Thanks to: Anders Hellgren <andh@gentoo.se>... (diff)
downloadgentoo-2-c440c1207a0ade13a07accecd1cefdf6f0d7f1af.tar.gz
gentoo-2-c440c1207a0ade13a07accecd1cefdf6f0d7f1af.tar.bz2
gentoo-2-c440c1207a0ade13a07accecd1cefdf6f0d7f1af.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`" ] &&