clangd invoked via Language Server Protocol chokes on -mabi=lp64, which we use for ARM64 build. We should eventually fix that by having barebox itself compile with clang, but till then, let's drop a .clangd file that instructs clangd to ignore this unsupported option. Pointers and longs are still 64-bit, presumably because that's the default AArch64 ABI. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- .clangd | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .clangd diff --git a/.clangd b/.clangd new file mode 100644 index 000000000000..58e83cd2871a --- /dev/null +++ b/.clangd @@ -0,0 +1,2 @@ +CompileFlags: + Remove: -mabi=lp64 -- 2.39.2