]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
omnia-mcutool: build as C99 23042/head
authorRosen Penev <rosenp@gmail.com>
Sun, 19 Apr 2026 22:24:12 +0000 (15:24 -0700)
committerRobert Marko <robimarko@gmail.com>
Wed, 22 Apr 2026 14:54:30 +0000 (16:54 +0200)
GCC15 defaults to C23, which does not work here.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23042
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/utils/omnia-mcutool/Makefile

index 66f8ffc6d4a86a66256a0dccb874d57ca04d292d..17109c869577269dd5d2f898c64fbe3181bf0a50 100644 (file)
@@ -36,6 +36,7 @@ microcontroller on the Turris Omnia router. It can also show state of MCU
 settings and configure MCU options (GPIOs, LEDs, power).
 endef
 
+TARGET_CFLAGS += -std=gnu99
 TARGET_LDFLAGS += -lcrypto
 
 define Build/Compile