summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2013-08-15 04:39:24 +0000
committerRyan Hill <rhill@gentoo.org>2013-08-15 04:39:24 +0000
commit6c2e698c1bb683155efaa8d41ef396990fb85aca (patch)
treec052e615c60eb179767815c8c5e6378dfb1d5840 /eclass
parentWhitespace (diff)
downloadhistorical-6c2e698c1bb683155efaa8d41ef396990fb85aca.tar.gz
historical-6c2e698c1bb683155efaa8d41ef396990fb85aca.tar.bz2
historical-6c2e698c1bb683155efaa8d41ef396990fb85aca.zip
alpha not only needs -Wl,--norelax for 4.6 to build itself, but also for it
to build other versions. So let's just always enable it.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/toolchain.eclass10
2 files changed, 10 insertions, 6 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 2adc928377d6..471c86341dea 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.924 2013/08/13 10:17:54 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.925 2013/08/15 04:39:24 dirtyepic Exp $
+
+ 15 Aug 2013; Ryan Hill <dirtyepic@gentoo.org> toolchain.eclass:
+ alpha not only needs -Wl,--norelax for 4.6 to build itself, but also for it
+ to build other versions. So let's just always enable it.
13 Aug 2013; Davide Pesavento <pesa@gentoo.org> qt4-build.eclass:
Filter -fgraphite-identity on gcc 4.7 (bug 417105).
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 121958f6f8d8..493984595704 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.599 2013/08/10 07:41:19 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.600 2013/08/15 04:39:24 dirtyepic Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1418,6 +1418,10 @@ gcc_do_filter_flags() {
amd64|x86)
filter-flags '-mcpu=*'
;;
+ alpha)
+ # https://bugs.gentoo.org/454426
+ append-ldflags -Wl,--no-relax
+ ;;
*-macos)
# http://gcc.gnu.org/PR25127
[[ ${GCC_BRANCH_VER} == 4.0 || ${GCC_BRANCH_VER} == 4.1 ]] && \
@@ -1430,10 +1434,6 @@ gcc_do_filter_flags() {
case ${GCC_BRANCH_VER} in
4.6)
case $(tc-arch) in
- alpha)
- # https://bugs.gentoo.org/454426
- append-ldflags -Wl,--no-relax
- ;;
amd64|x86)
# https://bugs.gentoo.org/411333
# https://bugs.gentoo.org/466454