We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ab4f22 commit 5b542a3Copy full SHA for 5b542a3
tools/bench-build.py
@@ -214,7 +214,13 @@ def try_add_cxx_configs(
214
label=f"{label}{label_suffix} Mold",
215
cxx_compiler=cxx_compiler,
216
cxx_flags=f"{cxx_flags} {g}",
217
- link_flags=f"{link_flags} -fuse-ld={MOLD_LINKER_EXE}",
+ # NOTE(strager): We can't write MOLD_LINKER_EXE here
218
+ # because GCC only accepts exactly 'fuse-ld=mold'
219
+ # (not a path to mold).
220
+ # NOTE(strager): This only works if an executable
221
+ # called 'ld.mold' is in PATH. It can't be called
222
+ # just 'mold'.
223
+ link_flags=f"{link_flags} -fuse-ld=mold",
224
pch=pch,
225
)
226
0 commit comments