mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 19:14:34 +04:00
luci-lua-runtime: 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:
committed by
Paul Donald
parent
7e6741fbae
commit
852fc23b12
@@ -2,7 +2,7 @@
|
|||||||
$(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -DNDEBUG -c -o $@ $<
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -DNDEBUG -c -o $@ $<
|
||||||
|
|
||||||
contrib/lemon: contrib/lemon.c contrib/lempar.c
|
contrib/lemon: contrib/lemon.c contrib/lempar.c
|
||||||
cc -o contrib/lemon $<
|
cc -std=gnu17 -o contrib/lemon $<
|
||||||
|
|
||||||
plural_formula.c: plural_formula.y contrib/lemon
|
plural_formula.c: plural_formula.y contrib/lemon
|
||||||
./contrib/lemon -q $<
|
./contrib/lemon -q $<
|
||||||
|
|||||||
Reference in New Issue
Block a user