lrzsz: fix compilation with gcc15
authorRosen Penev <[email protected]>
Thu, 9 Oct 2025 02:05:53 +0000 (19:05 -0700)
committerHannu Nyman <[email protected]>
Sun, 12 Oct 2025 17:04:29 +0000 (20:04 +0300)
Add gnu11 to fix compilation. Support for the latest standard takes too
much patching.

Signed-off-by: Rosen Penev <[email protected]>
utils/lrzsz/Makefile

index 524e5b525faccbdff70427687b7dc578d4afcfb6..ef4fb5515995928e87f417ec819c6708500fa026 100644 (file)
@@ -41,6 +41,8 @@ define Package/lrzsz/description
   from a variety of programs running under various operating systems.
 endef
 
+TARGET_CFLAGS += -std=gnu11
+
 define Package/lrzsz/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lrz $(1)/usr/bin/