systemd: enable lto

Gentoo disabled systemd's preference for link-time-optimization because
it consumes a far amount of CPU and distcc doesn't run the linking step
remotely. This change alone shaves some 19MB from the uncompressed /usr
filesystem. That seems like a solid reason to leave it enabled.
This commit is contained in:
Michael Marineau 2014-08-26 17:50:47 -07:00
parent c91bf350ef
commit 240d868746
2 changed files with 0 additions and 8 deletions

View File

@ -182,10 +182,6 @@ src_configure() {
multilib_src_configure() {
local myeconfargs=(
# disable -flto since it is an optimization flag
# and makes distcc less effective
cc_cv_CFLAGS__flto=no
--with-pamconfdir=/usr/share/pam.d
--disable-maintainer-mode
--localstatedir=/var

View File

@ -179,10 +179,6 @@ src_configure() {
multilib_src_configure() {
local myeconfargs=(
# disable -flto since it is an optimization flag
# and makes distcc less effective
cc_cv_CFLAGS__flto=no
--with-pamconfdir=/usr/share/pam.d
--disable-maintainer-mode
--localstatedir=/var