1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2025-05-08 02:59:25 +08:00

libtirpc: fix host build via std=c99

Fix compilation with gcc 14 by applying the -std=c99 flag

Closes #26445

Signed-off-by: John Audia <therealgraysky@proton.me>
This commit is contained in:
John Audia 2025-05-02 16:16:48 -04:00 committed by Hannu Nyman
parent 53f8aa5c51
commit 9a62f9e288

View 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