mips does need to auto append -fno-PIC/-nopie in the etexec function when ebuilds...
authorNed Ludd <solar@gentoo.org>
Sat, 13 Nov 2004 07:07:08 +0000 (07:07 +0000)
committerNed Ludd <solar@gentoo.org>
Sat, 13 Nov 2004 07:07:08 +0000 (07:07 +0000)
eclass/flag-o-matic.eclass

index 9008b4c7572609367cdb7dedd8da1d01d03141af..0861ecad41d2681fd0b9cb2df19cdcf6f6bee0ed 100644 (file)
@@ -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`" ] &&