]> 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>
Fri, 26 Feb 2021 15:15:29 +0000 (15:15 +0000)
commit9e1e4d5e56491cca755a14ba306fca0264a8bdf1
tree6dcb991172e3666e4c48d53748738cb8078f9d57
parent5b3bcab4dc19fa7ad3ff90436df4407e6679d857
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