mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 18:40:19 +02:00
make sure the user is actually on gcc 5.4 before trying to upgrade all the libs to avoid a never ending rebuild cycle, ugh
This commit is contained in:
parent
17b47a358d
commit
6071249d0e
1 changed files with 3 additions and 1 deletions
|
|
@ -45,7 +45,9 @@ if [ -n "$(find /usr/include/python3.{3,4,5} -type f 2> /dev/null)" ]; then
|
|||
fi
|
||||
|
||||
#taken from news item gcc-5-new-c++11-abi
|
||||
revdep-rebuild --library 'libstdc++.so.6' -- --buildpkg=y --usepkg=n --exclude gcc
|
||||
if [ "$(gcc-config -c)" = "x86_64-pc-linux-gnu-5.4.0" ]; then
|
||||
revdep-rebuild --library 'libstdc++.so.6' -- --buildpkg=y --usepkg=n --exclude gcc
|
||||
fi
|
||||
|
||||
if [ -n "${clst_target}" ]; then
|
||||
emerge @changed-deps || safe_exit
|
||||
|
|
|
|||
Loading…
Reference in a new issue