From f9ab04b63aee614ddfd3b50a4c6a0eac2094a2fe Mon Sep 17 00:00:00 2001 From: Arnaud Vrac Date: Tue, 19 Sep 2023 12:42:19 +0200 Subject: 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 Signed-off-by: Hans-Christian Noren Egtvedt --- scripts/functions | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/functions') diff --git a/scripts/functions b/scripts/functions index a86c528f..0453fe32 100644 --- a/scripts/functions +++ b/scripts/functions @@ -25,6 +25,7 @@ CT_LoadConfig() { . "${CT_LIB_DIR}/scripts/build/binutils/${CT_BINUTILS}.sh" . "${CT_LIB_DIR}/scripts/build/libc.sh" . "${CT_LIB_DIR}/scripts/build/cc/${CT_CC}.sh" + . "${CT_LIB_DIR}/scripts/build/linker.sh" . "${CT_LIB_DIR}/scripts/build/debug.sh" . "${CT_LIB_DIR}/scripts/build/test_suite.sh" -- cgit v1.2.3