Fix -std issue with clang

This commit is contained in:
Ganesh Viswanathan 2020-08-27 20:01:04 -05:00
commit dc90a1debb

View file

@ -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").}