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 | f8cd195511ec9f81b9d7eb8197f0546c471a27cd (patch) | |
tree | cb99d4bdacb8b9b3adeafb3644a48cc6b2b61dd5 /eclass | |
parent | Version bump, resolve bug #58205. Thanks to: Anders Hellgren <andh@gentoo.se>. (diff) | |
download | historical-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.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`" ] && |