summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2013-01-26 06:48:14 -0800
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2013-01-26 06:48:14 -0800
commit95b3f8b773f19dbd125cfd684d1617835d6c6cb0 (patch)
tree43d1edc3292c41e8a9005b1f4dc8869e4e524580 /tinderbox-restart.sh
parentFix syntax. (diff)
downloadflameeyes-tinderbox-95b3f8b773f19dbd125cfd684d1617835d6c6cb0.tar.gz
flameeyes-tinderbox-95b3f8b773f19dbd125cfd684d1617835d6c6cb0.tar.bz2
flameeyes-tinderbox-95b3f8b773f19dbd125cfd684d1617835d6c6cb0.zip
Update the --as-needed specs hacking so that it works with hardened toolchain.
Previously, this caused the --as-needed hack to be applied over and over and over again every time a GCC was to be rebuilt for whatever reason. Now it'll only be applied once.
Diffstat (limited to 'tinderbox-restart.sh')
-rwxr-xr-xtinderbox-restart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinderbox-restart.sh b/tinderbox-restart.sh
index b2c89ad..2d555a9 100755
--- a/tinderbox-restart.sh
+++ b/tinderbox-restart.sh
@@ -49,7 +49,7 @@ reset_emergelog
emerge -Nu1 sys-apps/portage
emerge -Nu1 sys-devel/gcc
-if fgrep -q '>>> emerge' /var/log/emerge.log && gcc-config -l | tail -n 1 | grep -v asneeded; then
+if fgrep -q '>>> emerge' /var/log/emerge.log; then
${tboxdir}/update-gcc-asneeded.sh
exit 0
fi