libtirpc: fix host build via std=c99
authorJohn Audia <redacted>
Fri, 2 May 2025 20:16:48 +0000 (16:16 -0400)
committerHannu Nyman <redacted>
Sun, 4 May 2025 15:35:58 +0000 (18:35 +0300)
Fix compilation with gcc 14 by applying the -std=c99 flag

Closes #26445

Signed-off-by: John Audia <redacted>
libs/libtirpc/Makefile

index ee455fe96a6a8c770e45d1a39f9777a749626a68..313abb40a4e2a6172df8e51371ae3c32a290e909 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libtirpc
 PKG_VERSION:=1.3.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=@SF/libtirpc
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -35,7 +35,7 @@ HOST_CONFIGURE_ARGS += --disable-symvers
 endif
 
 TARGET_CFLAGS += -DGQ
-HOST_CFLAGS += -DGQ
+HOST_CFLAGS += -DGQ -std=c99
 
 define Package/libtirpc/install
        $(INSTALL_DIR) $(1)/usr/lib
git clone https://git.99rst.org/PROJECT