openwrt/package/network/services/dropbear
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 dropbear: use new extra_command wrapper 2020-11-02 21:32:38 +01:00
patches dropbear: cherry-pick upstream commit 544f28a0 2022-06-27 00:57:15 +02:00
Config.in dropbear: add config options for agent-forwarding support 2021-10-30 16:32:54 +02:00
Makefile treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00