summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/automatic_updater.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automatic_updater.sh b/scripts/automatic_updater.sh
index 58e8ced..6dcd73a 100755
--- a/scripts/automatic_updater.sh
+++ b/scripts/automatic_updater.sh
@@ -136,10 +136,10 @@ update_toolchain(){
# https://bugs.gentoo.org/629128
[[ ! -e /etc/portage/package.unmask ]] && mkdir -p /etc/portage/package.unmask
echo "sys-devel/binutils" > /etc/portage/package.unmask/toolchain-oldversion
- echo "sys-devel/gcc" >> /etc/portage/package.unmask/toolchain-oldversion
+ echo "<sys-devel/gcc-7.0" >> /etc/portage/package.unmask/toolchain-oldversion
emerge -u '<sys-devel/binutils-2.28' --exclude sys-freebsd/*
emerge -u sys-devel/gcc-config --exclude sys-freebsd/*
- emerge -u '<sys-devel/gcc-5.0' --exclude sys-freebsd/* --exclude sys-devel/binutils
+ emerge '<sys-devel/gcc-5.0' --exclude sys-freebsd/* --exclude sys-devel/binutils
gcc-config $(gcc-config -l | grep "${TARGETVER}" | awk '{print $1}' | sed 's:\[::g' | sed 's:\]::g' | tail -n 1)
env-update
source /etc/profile