openwrt/package/network/services/ppp
Andre Heider 07730ff346
treewide: add support for "lto" in PKG_BUILD_FLAGS
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>
2023-03-21 18:28:22 +01:00
..
files ppp: use modprobe in place of insmod 2022-09-27 17:16:42 +02:00
patches ppp: compile fix: unset FILTER variable in Makefile 2021-03-19 00:25:58 +01:00
utils packages: sort network related packages into package/network/ 2012-10-10 12:32:29 +00:00
Makefile treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00