clangd: .clangd file that seems to make clangd behave
This commit is contained in:
parent
36cc060411
commit
8959bc87b8
1 changed files with 18 additions and 0 deletions
18
.clangd
Normal file
18
.clangd
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
CompileFlags:
|
||||||
|
Add:
|
||||||
|
- --target=riscv64-unknown-elf
|
||||||
|
- -mcmodel=medany
|
||||||
|
- -march=rv64gc
|
||||||
|
- -mabi=lp64
|
||||||
|
- -ffreestanding
|
||||||
|
- -fno-common
|
||||||
|
- -nostdlib
|
||||||
|
- -mno-relax
|
||||||
|
- -I.
|
||||||
|
- -Ilib
|
||||||
|
- -fno-stack-protector
|
||||||
|
- -fno-pie
|
||||||
|
- -no-pie
|
||||||
|
- -ggdb
|
||||||
|
- -gdwarf-2
|
||||||
|
- -fno-omit-frame-pointer
|
Loading…
Add table
Reference in a new issue