Mike Frysinger has uploaded a new change for review.
Change subject: make.conf: link with -Wl,-O2 -Wl,--as-needed
......................................................................
make.conf: link with -Wl,-O2 -Wl,--as-needed
The as-needed flag removes linking from libraries that are otherwise
unused which in turn saves on space and runtime overhead.
We are already linking with the -O1 flag. This ups it to -O2 which
enables a few string table optimizations at link time.
BUG=chromium-os:9855
TEST=been using this personally for over 6 months and many targets build & boot
TEST=`cbuildbot chromiumos-sdk` works
TEST=`cbuildbot {arm,x86,amd64}-generic-full` works
TEST=`cbuildbot {stumpy,lumpy,link,x86-alex,butterfly,daisy}-release` works
Change-Id: I017bc62ef73116bd93f0dfff8231d6aa0582af40
---
M chromeos/config/make.conf.amd64-host
M chromeos/config/make.conf.common-target
2 files changed, 3 insertions(+), 0 deletions(-)
git pull ssh://
gerrit.chromium.org:29418/chromiumos/overlays/chromiumos-overlay refs/changes/86/37186/1
--
To view, visit
https://gerrit.chromium.org/gerrit/37186
To unsubscribe, visit
https://gerrit.chromium.org/gerrit/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I017bc62ef73116bd93f0dfff8231d6aa0582af40
Gerrit-PatchSet: 1
Gerrit-Project: chromiumos/overlays/chromiumos-overlay
Gerrit-Branch: master
Gerrit-Owner: Mike Frysinger <
vap...@chromium.org>