Fix -std issue with clang
This commit is contained in:
parent
672e634d89
commit
dc90a1debb
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ static:
|
|||
|
||||
const sourcePath = cacheDir / "treesitter" / "lib"
|
||||
|
||||
when defined(Linux):
|
||||
when defined(Linux) and defined(gcc):
|
||||
{.passC: "-std=c11".}
|
||||
|
||||
{.passC: "-I$1" % (sourcePath / "include").}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue