projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b32fa2
)
luci-lua-runtime: specify c17 standard
author
Andrew Robbins
<
[email protected]
>
Tue, 15 Apr 2025 06:13:06 +0000
(
02:13
-0400)
committer
Paul Donald
<
[email protected]
>
Fri, 18 Apr 2025 13:04:49 +0000
(15:04 +0200)
build was failing b/c gcc15 defaults to c23, which lemon is not written for (and errors with).
Signed-off-by: Andrew Robbins <
[email protected]
>
(cherry picked from commit
852fc23b12d4a701ba724a40b6afd4d40a4ad68d
)
modules/luci-lua-runtime/src/Makefile
patch
|
blob
|
history
diff --git
a/modules/luci-lua-runtime/src/Makefile
b/modules/luci-lua-runtime/src/Makefile
index dcce33dc8cc0108b05f5441608b5f7a1b7822644..8abe58fcf7c029ddcea5f10d52df321a61cbfc99 100644
(file)
--- a/
modules/luci-lua-runtime/src/Makefile
+++ b/
modules/luci-lua-runtime/src/Makefile
@@
-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 $<
plural_formula.c: plural_formula.y contrib/lemon
./contrib/lemon -q $<