[PATCH master 1/3] .clangd: black-list -mabi=lp64 to enable LSP for 64-bit ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux