mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-07 19:34:17 +00:00
mold: tell cmake which compilers to use
The mold build was using gcc in the PATH, instead of the shiny gcc we just built (the way the other companion libs/tools do) Signed-off-by: Mike Lundy <mlundy@splunk.com>
This commit is contained in:
parent
558d67ec0d
commit
1c395b298d
@ -16,6 +16,8 @@ do_linker_mold_build() {
|
||||
|
||||
CT_DoLog EXTRA "Configuring mold for host"
|
||||
CT_DoExecLog CFG \
|
||||
CC="${CT_HOST}-gcc" \
|
||||
CXX="${CT_HOST}-g++" \
|
||||
CFLAGS="${CT_CFLAGS_FOR_HOST}" \
|
||||
LDFLAGS="${CT_LDFLAGS_FOR_HOST}" \
|
||||
cmake "${CT_SRC_DIR}/mold" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user