build: add support to use the mold linker for packages
authorAndre Heider <a.heider@gmail.com>
Fri, 27 Jan 2023 15:35:46 +0000 (16:35 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 4 Jul 2023 18:25:41 +0000 (20:25 +0200)
commit32ed9764462ae04fad5809f857450d4f606ac4c0
treed70d73c076cfb423876ad72d76199443dead47e1
parent42ef375cb658d2de0d44a8b1da4df939341b6021
build: add support to use the mold linker for packages

If CONFIG_USE_MOLD is set, all target packages will use the mold linker.
Except the ones which opted-out via setting PKG_BUILD_FLAGS:=no-mold.

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