config: add a knob to use the mold linker for packages
authorAndre Heider <a.heider@gmail.com>
Fri, 27 Jan 2023 16:13:15 +0000 (17:13 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 4 Jul 2023 18:25:40 +0000 (20:25 +0200)
commit65a716bb95baa3b2617bafe6a86173da8cea7933
tree166e2fe6b62a31cd1d48293ec39d3d769ce6b696
parentd026b19cdcda50766e1ecc350fdc7c542e0f1c73
config: add a knob to use the mold linker for packages

Building it requires gcc >= 10.2 or clang >= 12.

Using sstrip with its -z argument can produce non-working binaries, like
a segfaulting `getrandom`, so don't allow that combination.

Signed-off-by: Andre Heider <a.heider@gmail.com>
config/Config-build.in
config/check-hostcxx.sh [new file with mode: 0755]