From f93e0b91a3c0eac07fe1f108900ec36080a99c2e Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Wed, 8 Sep 2010 12:59:10 +0200 Subject: Don't re-create the gcc specs for --as-needed if the latest version is already compatible. --- tinderbox-restart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinderbox-restart.sh b/tinderbox-restart.sh index 31b313b..58d025f 100755 --- a/tinderbox-restart.sh +++ b/tinderbox-restart.sh @@ -42,7 +42,7 @@ reset_emergelog emerge -u1 portage emerge -u1 gcc -if fgrep -q '>>> emerge' /var/log/emerge.log; then +if fgrep -q '>>> emerge' /var/log/emerge.log && gcc-config -l | tail -n 1 | grep -v asneeded; then ./update-gcc-asneeded.sh exit 0 fi -- cgit v1.2.3-65-gdbad