~ruther/guix-local

325689d0362bf88e58a61354e1adcbb9236bbfb9 — Brian Kubisiak 7 months ago a43303a
build-system/tree-sitter: Build with -std=c11.

* guix/build/tree-sitter-build-system.scm (install): Switch to
building with -std=c11.

Fixes: guix/guix#2215
Change-Id: I04f3ede07aeaaa9cf95272611d6346295f603b69
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/build/tree-sitter-build-system.scm
M guix/build/tree-sitter-build-system.scm => guix/build/tree-sitter-build-system.scm +1 -1
@@ 120,7 120,7 @@ and replace development dependencies with tree-sitter grammar node modules."
                   ;; provided.
                   ,@(cond
                      ((source-file "src/scanner.c")
                       => (lambda (file) (list "-xc" "-std=c99" file)))
                       => (lambda (file) (list "-xc" "-std=c11" file)))
                      ((source-file "src/scanner.cc")
                       => (lambda (file) (list file)))
                      (else '()))