summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2010-09-08 12:59:10 +0200
committerDiego Elio Pettenò <flameeyes@gmail.com>2010-09-08 12:59:10 +0200
commitf93e0b91a3c0eac07fe1f108900ec36080a99c2e (patch)
tree9c5a86722c118a453517e5aeba80e8a285fe629f
parentTry to keep going even on build errors when running perl-cleaner. (diff)
downloadflameeyes-tinderbox-f93e0b91a3c0eac07fe1f108900ec36080a99c2e.tar.gz
flameeyes-tinderbox-f93e0b91a3c0eac07fe1f108900ec36080a99c2e.tar.bz2
flameeyes-tinderbox-f93e0b91a3c0eac07fe1f108900ec36080a99c2e.zip
Don't re-create the gcc specs for --as-needed if the latest version is already compatible.
-rwxr-xr-xtinderbox-restart.sh2
1 files changed, 1 insertions, 1 deletions
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