chore: use lld linker by default
This commit is contained in:
parent
d4c83c6de7
commit
0a267c027d
4 changed files with 8 additions and 4 deletions
6
justfile
6
justfile
|
|
@ -3,10 +3,12 @@ appid := 'com.system76.CosmicSettings'
|
|||
|
||||
x86-64-target := 'x86-64-v2'
|
||||
|
||||
linker := '-C link-arg=-fuse-ld=lld'
|
||||
|
||||
export RUSTFLAGS := if arch() == 'x86_64' {
|
||||
'-C target-cpu=' + x86-64-target
|
||||
linker + ' -C target-cpu=' + x86-64-target
|
||||
} else {
|
||||
''
|
||||
linker
|
||||
}
|
||||
|
||||
rootdir := ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue