diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2013-08-15 04:39:24 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2013-08-15 04:39:24 +0000 |
commit | 832c47351de465a6d213fba24dee77c719d3d9cb (patch) | |
tree | fcb2351a566ee61c5dc381ab0d283b0737c30722 /eclass/toolchain.eclass | |
parent | Whitespace (diff) | |
download | gentoo-2-832c47351de465a6d213fba24dee77c719d3d9cb.tar.gz gentoo-2-832c47351de465a6d213fba24dee77c719d3d9cb.tar.bz2 gentoo-2-832c47351de465a6d213fba24dee77c719d3d9cb.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/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
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 |