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
..
2019-11-14 22:53:31 +01:00
2021-03-17 08:42:05 +01:00
2023-01-16 22:05:01 +00:00
2023-03-17 03:34:50 +01:00
2023-01-30 10:58:00 +01:00
2020-05-24 17:01:36 +02:00
2023-03-05 16:39:24 +01:00