Skip to content

Commit

Permalink
Pass in linker on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jonchang committed Jul 18, 2023
1 parent 9cabc0b commit c2c22ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/llvm.org/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ build:
- -DLLVM_INCLUDE_DOCS=OFF
- -DLLVM_INCLUDE_TESTS=OFF
- -DLLVM_LINK_LLVM_DYLIB=ON
linux:
ARGS:
# the default is `ld` however clang when handling linking itself
# internally passes flags that, in fact, expect `lld`
#NOTE only wanted on linux because on macOS we actually *need* the Apple
# provided `ld` or things *also* break 😆
- -DCLANG_DEFAULT_LINKER=lld
darwin:
ARGS:
#FIXME shouldn’t *have to* require the command line tools package
Expand Down

0 comments on commit c2c22ee

Please sign in to comment.