summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-30 05:28:41 +0000
committerMike Frysinger <vapier@gentoo.org>2015-05-30 05:28:41 +0000
commitf89c3978457344442d314c2dd60f3c292299810a (patch)
tree4be68c37496234d0056e118bdaee6fbf02abe2e3 /sys-libs/glibc
parentAdd ruby22. (diff)
downloadgentoo-2-f89c3978457344442d314c2dd60f3c292299810a.tar.gz
gentoo-2-f89c3978457344442d314c2dd60f3c292299810a.tar.bz2
gentoo-2-f89c3978457344442d314c2dd60f3c292299810a.zip
Filter out -Wl,--hash-style=gnu for mips targets.
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r--sys-libs/glibc/ChangeLog5
-rw-r--r--sys-libs/glibc/files/eblits/common.eblit6
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog
index 025a34a69890..1e57c986b181 100644
--- a/sys-libs/glibc/ChangeLog
+++ b/sys-libs/glibc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/glibc
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.1055 2015/05/30 04:30:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.1056 2015/05/30 05:28:41 vapier Exp $
+
+ 30 May 2015; Mike Frysinger <vapier@gentoo.org> files/eblits/common.eblit:
+ Filter out -Wl,--hash-style=gnu for mips targets.
30 May 2015; Mike Frysinger <vapier@gentoo.org> files/eblits/common.eblit:
Fix -march setting when building x86 multilib on x86_64 #528708 by devsk. Also
diff --git a/sys-libs/glibc/files/eblits/common.eblit b/sys-libs/glibc/files/eblits/common.eblit
index 1dab165ccd07..cd89cdf1c330 100644
--- a/sys-libs/glibc/files/eblits/common.eblit
+++ b/sys-libs/glibc/files/eblits/common.eblit
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.46 2015/05/30 04:30:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit,v 1.47 2015/05/30 05:28:41 vapier Exp $
alt_prefix() {
is_crosscompile && echo /usr/${CTARGET}
@@ -91,6 +91,10 @@ setup_target_flags() {
einfo "Auto adding -march=${t} to CFLAGS_x86 #185404"
fi
;;
+ mips)
+ # The mips abi cannot support the GNU style hashes. #233233
+ filter-ldflags -Wl,--hash-style=gnu -Wl,--hash-style=both
+ ;;
ppc)
append-flags "-freorder-blocks"
;;