aboutsummaryrefslogtreecommitdiff
path: root/scripts/crosstool-NG.sh
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2023-09-19 12:42:19 +0200
committerChris Packham <judge.packham@gmail.com>2024-06-05 19:31:45 +1200
commitf9ab04b63aee614ddfd3b50a4c6a0eac2094a2fe (patch)
tree1eaa45408e35d60d8358443f04cdc360a2c47973 /scripts/crosstool-NG.sh
parentd4953677cdb286c12409b2b5b215de56c521a8b8 (diff)
downloadcrosstool-ng-f9ab04b63aee614ddfd3b50a4c6a0eac2094a2fe.tar.gz
crosstool-ng-f9ab04b63aee614ddfd3b50a4c6a0eac2094a2fe.tar.bz2
crosstool-ng-f9ab04b63aee614ddfd3b50a4c6a0eac2094a2fe.zip
Add mold linker build
Allows building the #mold linker, which can then be used in the cross-toolchain by passing the -fuse-ld=mold to the gcc flags. It is much faster than ld or gold. This requires a C++20 compiler and cmake. Initially implemented by Arnaud, and HC added configure check for cmake. Outstanding task to validate compiler is C++20 compatible. Signed-off-by: Arnaud Vrac <avrac@freebox.fr> Signed-off-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>
Diffstat (limited to 'scripts/crosstool-NG.sh')
-rw-r--r--scripts/crosstool-NG.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/crosstool-NG.sh b/scripts/crosstool-NG.sh
index 900dcb18..fdcfe4b3 100644
--- a/scripts/crosstool-NG.sh
+++ b/scripts/crosstool-NG.sh
@@ -660,6 +660,7 @@ if [ -z "${CT_RESTART}" ]; then
do_companion_libs_get
do_binutils_get
do_cc_get
+ do_linker_get
do_libc_get
do_debug_get
do_test_suite_get
@@ -677,6 +678,7 @@ if [ -z "${CT_RESTART}" ]; then
do_companion_libs_extract
do_binutils_extract
do_cc_extract
+ do_linker_extract
do_libc_extract
do_debug_extract
do_test_suite_extract