build: set GNU17 for lemon compilation master
authorRobert Marko <robimarko@gmail.com>
Fri, 18 Apr 2025 10:26:29 +0000 (12:26 +0200)
committerRobert Marko <robimarko@gmail.com>
Fri, 18 Apr 2025 10:40:12 +0000 (12:40 +0200)
commit8a86fb78235b5d7925b762b7b0934517890cc034
tree94245247b2fb7dc63ba8456a54782e60f1ec8653
parent594cfa86469c005972ba750614f5b3f1af84d0f6
build: set GNU17 for lemon compilation

GCC15 has changed the default from GNU17 (Since GCC8) to GNU23 and this is
breaking lemon compilation.

So, simply set -std=gnu17 for lemon.c so it compiles again.

Link: https://github.com/openwrt/jsonpath/pull/4
Signed-off-by: Robert Marko <robimarko@gmail.com>
CMakeLists.txt