diff options
author | Travis Tilley <lv@gentoo.org> | 2004-07-28 02:18:38 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-07-28 02:18:38 +0000 |
commit | c440c1207a0ade13a07accecd1cefdf6f0d7f1af (patch) | |
tree | 21e52386132bf8309ae63ead5d7052da2eaa3cd3 /eclass | |
parent | Version bump, resolve bug #58205. Thanks to: Anders Hellgren <andh@gentoo.se>... (diff) | |
download | gentoo-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.eclass | 5 |
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`" ] && |