projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5126628
)
toolchain.eclass: install gcc-5 go binary as go-5 #567806
author
Zac Medico
<zmedico@gentoo.org>
Sun, 20 Mar 2016 00:15:18 +0000
(17:15 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 20 Mar 2016 00:16:11 +0000
(17:16 -0700)
eclass/toolchain.eclass
patch
|
blob
|
history
diff --git
a/eclass/toolchain.eclass
b/eclass/toolchain.eclass
index 7dade5cf192c76ea02b5616c1abd9c8e2080e144..03e550dd6f72cbd48635d496cf0ea0ba4f85077b 100644
(file)
--- a/
eclass/toolchain.eclass
+++ b/
eclass/toolchain.eclass
@@
-1684,10
+1684,12
@@
toolchain_src_install() {
ln -sf ${CTARGET}-${x} ${CTARGET}-${x}-${GCC_CONFIG_VER}
fi
done
- #
Clear out
the main go binaries as we don't want to clobber dev-lang/go
+ #
Rename
the main go binaries as we don't want to clobber dev-lang/go
# when gcc-config runs. #567806
if tc_version_is_at_least 5 && is_go ; then
- rm -f go gofmt
+ for x in go gofmt; do
+ mv ${x} ${x}-${GCCMAJOR} || die
+ done
fi
# Now do the fun stripping stuff