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:
fee5112
)
luci-base: specify c17 standard
author
Andrew Robbins
<
[email protected]
>
Tue, 15 Apr 2025 05:38:35 +0000
(
01:38
-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
7e6741fbae9b122545e80aad8b9e3a5529c442ce
)
modules/luci-base/src/Makefile
patch
|
blob
|
history
diff --git
a/modules/luci-base/src/Makefile
b/modules/luci-base/src/Makefile
index ad309e5c6b38c1fa6b792951c87f4bce58645d83..431248ee17019a95478bed81f5a59790ba9b6d8c 100644
(file)
--- a/
modules/luci-base/src/Makefile
+++ b/
modules/luci-base/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 $<
lib/plural_formula.c: lib/plural_formula.y contrib/lemon
./contrib/lemon -q $<