-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: llvm : add llvm support on windows
The linker can't be found when zephyr_compiler_check_flag() is called to check the flags of clang compiler. So the "-fuse-ld=lld" option is added to force to use lld, which is the built-in linker of llvm. triple i686-pc-none-elf couldn't be recognized and used to find a valid linker on windows, we need to use i686-pc-linux-elf. Signed-off-by: Chen Peng1 <[email protected]>
- Loading branch information
Chen Peng1
committed
Jul 9, 2021
1 parent
395b0c3
commit 3f53fa0
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters