clangd: .clangd file that seems to make clangd behave

This commit is contained in:
Imbus 2025-06-26 04:04:34 +02:00
parent 36cc060411
commit 8959bc87b8

18
.clangd Normal file
View 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