mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
toolchain.eclass: install gcc-5 go binary as go-5 #567806
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user