build: add a config knob to enable gc-sections for all packages
authorAndre Heider <a.heider@gmail.com>
Fri, 3 Feb 2023 12:15:43 +0000 (13:15 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 21 Mar 2023 17:28:23 +0000 (18:28 +0100)
commitaef8bab9d71d85dcb6d99ff70078be3f2bdfbf61
tree8579f2e4d0d4829c9670e390ba63a48deb3ffcb5
parent07730ff3465d3cede3026cdd1c17453930f055ce
build: add a config knob to enable gc-sections for all packages

This enables the linker's garbage collection for all packages which haven't
opted-out.

Signed-off-by: Andre Heider <a.heider@gmail.com>
config/Config-build.in
include/package.mk