mirror of
https://github.com/xemu-project/xemu-website.git
synced 2024-11-23 03:19:44 +00:00
Add note about clang
This commit is contained in:
parent
b6b8227a0b
commit
6a98bbe7ed
@ -69,3 +69,13 @@ open ./dist/xemu.app
|
||||
# Run
|
||||
./dist/xemu
|
||||
```
|
||||
|
||||
!!! tip "Tip: Building with Clang, or another specific compiler"
|
||||
|
||||
If you have multiple toolchains and would like to build with specific one,
|
||||
such as clang, you can specify the compiler and linker through environment
|
||||
variables when invoking build.sh as follows:
|
||||
|
||||
```bash
|
||||
CC=clang CXX=clang++ CC_LD=lld CXX_LD=lld AR=llvm-ar ./build.sh
|
||||
```
|
Loading…
Reference in New Issue
Block a user