openwrt/package/utils
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
..
adb
bcm27xx-userland
bcm4908img
bsdiff build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
busybox treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
bzip2
checkpolicy
ct-bugcheck
dtc dtc: update to 1.7.0 2023-03-05 01:37:24 +01:00
e2fsprogs treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
f2fs-tools f2fs-tools: add PKG_CPE_ID 2022-09-06 16:36:42 +01:00
fbtest
fritz-tools fritz-tools: fix segfault in caldata-extract 2023-03-02 17:04:28 +01:00
jboot-tools
jsonfilter
lua tree-wide: Do not use package librt and libpthread 2022-12-29 18:50:24 +01:00
lua5.3 build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
mdadm treewide: add support for "gc-sections" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
mtd-utils treewide: add support for "gc-sections" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
nvram
osafeloader
oseama
otrx
policycoreutils
px5g-mbedtls treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
px5g-wolfssl treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
ravpower-mcu
secilc
spidev_test
ucode ucode: update to the latest version 2023-02-14 09:59:16 +01:00
ucode-mod-bpf ucode-mod-bpf: add new package for a ucode libbpf binding 2023-01-09 11:35:20 +01:00
uencrypt uencrypt: split common and library-specific code 2023-03-17 17:22:54 -03:00
ugps
usbmode
util-linux util-linux: update to 2.38.1 2023-01-07 17:18:41 +01:00
zyxel-bootconfig zyxel-bootconfig: clean up script 2023-01-07 01:32:58 +01:00