openwrt/package/system
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
..
ca-certificates
fstools treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
fwtool
gpio-cdev/nu801 nu801: fix DEPENDS on bcm53xx 2022-07-17 13:43:48 +02:00
iucode-tool iucode-tool: fix compile error with musl libc and USE_CPUID_DEVICE 2022-12-04 13:21:46 +01:00
mtd treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
openwrt-keyring
opkg treewide: add support for "gc-sections" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
procd treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
refpolicy
rpcd rpcd: bump to latest git HEAD 2023-03-17 03:34:50 +01:00
selinux-policy selinux-policy: update to version 1.2.3 2022-05-21 22:27:01 +01:00
ubox tree-wide: Do not use package librt and libpthread 2022-12-29 18:50:24 +01:00
ubus treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
ucert
uci uci: update to git HEAD 2023-03-05 16:39:24 +01:00
urandom-seed
urngd
usign treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
zram-swap