]> 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, 15 Apr 2021 14:05:49 +0000 (14:05 +0000)
commitbbc5eb3662c1ae22cce7e92ca48caf7b7614f0d0
treea31a7ebc80edc8c94f72511b1af69ea7c7b3013b
parent32078f1b3f9910b94a353a44c93370f4d56771ae
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