]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
make.sh: Add -flto to CFLAGS
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Feb 2021 11:26:57 +0000 (11:26 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 20 May 2021 10:40:39 +0000 (10:40 +0000)
commit0cd9e7a935a14f4404ba2b8b458ab11c8443c4ad
tree6a252949537cbea442d3c7c5a9140d359e4cffc9
parent688c94518265aec763fc99d0f12cf5ff4b2ac1b1
make.sh: Add -flto to CFLAGS

This will compile the whole distribition with LTO.

GCC will generate some intermediate representation of the code which
will be compiled into binary at linking stage, after an optimizer
has removed any unneeded symbols and the inliner has had a chance to
inline functions across source files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/Config
make.sh