mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
07730ff346
This reduces open coding and allows to easily add a knob to enable it treewide, where chosen packages can still opt-out via "no-lto". Some packages used LTO, but not the linker plugin. This unifies 'em all to attempt to produce better code. Quoting man gcc(1): "This improves the quality of optimization by exposing more code to the link-time optimizer." Also use -flto=auto instead of -flto=jobserver, as it's not guaranteed that every buildsystem uses +$(MAKE) correctly. Signed-off-by: Andre Heider <a.heider@gmail.com> |
||
---|---|---|
.. | ||
firewall | ||
firewall4 | ||
gre | ||
ipip | ||
ltq-adsl-app | ||
ltq-vdsl-vr9-app | ||
ltq-vdsl-vr11-app | ||
netifd | ||
qos-scripts | ||
qosify | ||
soloscli | ||
swconfig | ||
vti | ||
vxlan | ||
xfrm |