luci-base: specify c17 standard

build was failing b/c gcc15 defaults to c23, which lemon is not written for (and errors with).

Signed-off-by: Andrew Robbins <andrew@robbinsa.me>
This commit is contained in:
Andrew Robbins 2025-04-15 01:38:35 -04:00 committed by Paul Donald
parent f822d31221
commit 7e6741fbae
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
$(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -DNDEBUG -c -o $@ $<
contrib/lemon: contrib/lemon.c contrib/lempar.c
cc -o contrib/lemon $<
cc -std=gnu17 -o contrib/lemon $<
lib/plural_formula.c: lib/plural_formula.y contrib/lemon
./contrib/lemon -q $<