summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Tennie <sven.tennie@gmail.com>2021-09-12 12:13:09 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-17 09:39:31 -0400
commite7c2ff8887291c4568f07df68cca8ff7a9bc8fbf (patch)
treebd67a8a9d9e862b0024466b649edf0a14f711b81
parent01e07ab13dcff69cd9a88ab56cc83f0a50ec63ae (diff)
downloadhaskell-e7c2ff8887291c4568f07df68cca8ff7a9bc8fbf.tar.gz
Add compile_flags.txt for clangd (C IDE) support
This file configures clangd (C Language Server for IDEs) for the GHC project. Please note that this only works together with Haskell Language Server, otherwise .hie-bios/stage0/lib does not exist.
-rw-r--r--compile_flags.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/compile_flags.txt b/compile_flags.txt
new file mode 100644
index 0000000000..dbda234dd8
--- /dev/null
+++ b/compile_flags.txt
@@ -0,0 +1,5 @@
+-xc
+-Irts
+-Irts/include
+-I.hie-bios/stage0/lib
+