openwrt/package/system
Andre Heider da3700988d
treewide: add support for "gc-sections" 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-gc-sections".

Note: libnl, mbedtls and opkg only used the CFLAGS part without the
LDFLAGS counterpart. That doesn't help at all if the goal is to produce
smaller binaries. I consider that an accident, and this fixes it.

Note: there are also packages using only the LDFLAGS part. I didn't
touch those, as gc might have been disabled via CFLAGS intentionally.

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
openwrt-keyring
opkg treewide: add support for "gc-sections" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
procd procd: update to git HEAD 2023-01-16 22:05:01 +00: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 ubus: fix wrong package mirror hash 2023-01-30 10:58:00 +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: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
zram-swap