mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-18 19:01:28 +02:00
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:
parent
c91bf350ef
commit
240d868746
@ -182,10 +182,6 @@ src_configure() {
|
|||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
local myeconfargs=(
|
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
|
--with-pamconfdir=/usr/share/pam.d
|
||||||
--disable-maintainer-mode
|
--disable-maintainer-mode
|
||||||
--localstatedir=/var
|
--localstatedir=/var
|
@ -179,10 +179,6 @@ src_configure() {
|
|||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
local myeconfargs=(
|
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
|
--with-pamconfdir=/usr/share/pam.d
|
||||||
--disable-maintainer-mode
|
--disable-maintainer-mode
|
||||||
--localstatedir=/var
|
--localstatedir=/var
|
||||||
|
Loading…
x
Reference in New Issue
Block a user