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 ca-certificates: fix python3-cryptography woes in certdata2pem.py 2021-12-01 17:52:35 +01:00
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 openwrt-keyring: add OpenWrt 22.03 GPG/usign keys 2022-03-25 14:28:00 +01:00
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 urandom-seed: go back to seeding with shell script temporarily 2022-04-14 10:12:34 +02:00
urngd
usign treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
zram-swap zram-swap: clean up the log messages 2021-06-27 14:49:14 -10:00