From: Ned Ludd Date: Sat, 13 Nov 2004 07:07:08 +0000 (+0000) Subject: mips does need to auto append -fno-PIC/-nopie in the etexec function when ebuilds... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b338b1f9b2a8a7521fb1bd38202cff879a9fd3af;p=gentoo.git mips does need to auto append -fno-PIC/-nopie in the etexec function when ebuilds filter-flags -fPIC --- diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 9008b4c75726..0861ecad41d2 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.76 2004/10/30 00:00:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.77 2004/11/13 07:07:08 solar Exp $ # # Author Bart Verwilst @@ -422,9 +422,8 @@ 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 + use mips && return 0 if has_pie || has_pic; then [ -z "`is-flag -fno-pic`" ] &&