mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
Meta: Add the start of a gn build based on the LLVM gn build
"based on" in this context means "largely copied from"
This commit is contained in:
parent
4a9a1d1656
commit
4bfb146181
19 changed files with 1225 additions and 0 deletions
8
Meta/gn/build/toolchain/compiler.gni
Normal file
8
Meta/gn/build/toolchain/compiler.gni
Normal file
|
@ -0,0 +1,8 @@
|
|||
declare_args() {
|
||||
# Set to true when host compiler is clang so that clang flags will be passed to it
|
||||
is_clang = host_os == "mac"
|
||||
|
||||
# Enable setting -fuse-ld and other flags for using the lld linker.
|
||||
# Should not be set on macOS when using the default system compiler.
|
||||
use_lld = false
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue