Skip to content

Commit e6fc8a1

Browse files
Fix issues with forcing lld. (#13326)
lld does not link against /usr/local/lib by default, unlike lld which it is replacing. --------- Co-authored-by: Oliver Chang <[email protected]>
1 parent 3fa8362 commit e6fc8a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

infra/base-images/base-builder/indexer/clang_wrapper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ def main(argv: list[str]) -> None:
380380
argv.append(f"-Wl,--dependency-file={dependency_file}")
381381
argv.append(f"-Wl,--why-extract={why_extract_file}")
382382
argv.append("-Wl,--build-id")
383+
argv.append("-L/usr/local/lib")
383384
argv.append("-Qunused-arguments")
384385
run(argv)
385386

0 commit comments

Comments
 (0)