summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-11-13 07:07:08 +0000
committerNed Ludd <solar@gentoo.org>2004-11-13 07:07:08 +0000
commitb338b1f9b2a8a7521fb1bd38202cff879a9fd3af (patch)
tree93cc5f947764bebdf7e7c139c5e21979e5de8f2e /eclass
parentadded patch from FreeBSD ports. Fixes mem leaks and minor display bugs. ~ppc-... (diff)
downloadhistorical-b338b1f9b2a8a7521fb1bd38202cff879a9fd3af.tar.gz
historical-b338b1f9b2a8a7521fb1bd38202cff879a9fd3af.tar.bz2
historical-b338b1f9b2a8a7521fb1bd38202cff879a9fd3af.zip
mips does need to auto append -fno-PIC/-nopie in the etexec function when ebuilds filter-flags -fPIC
Diffstat (limited to 'eclass')
-rw-r--r--eclass/flag-o-matic.eclass5
1 files changed, 2 insertions, 3 deletions
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 <verwilst@gentoo.org>
@@ -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`" ] &&