mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
a43303a2dd
commit
325689d036
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ and replace development dependencies with tree-sitter grammar node modules."
|
||||||
;; provided.
|
;; provided.
|
||||||
,@(cond
|
,@(cond
|
||||||
((source-file "src/scanner.c")
|
((source-file "src/scanner.c")
|
||||||
=> (lambda (file) (list "-xc" "-std=c99" file)))
|
=> (lambda (file) (list "-xc" "-std=c11" file)))
|
||||||
((source-file "src/scanner.cc")
|
((source-file "src/scanner.cc")
|
||||||
=> (lambda (file) (list file)))
|
=> (lambda (file) (list file)))
|
||||||
(else '()))
|
(else '()))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue