krb5: build as C11

Fixes compilation with GCC 15.

The upstream patch fixing compilation is way too huge to backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2025-08-04 15:29:35 -07:00
committed by Tianling Shen
parent 08a431f446
commit f34e6fb265

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=krb5
PKG_VERSION:=1.21.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
@@ -107,6 +107,8 @@ define Build/InstallDev
$(LN) ../../usr/bin/krb5-config $(2)/bin/krb5-config
endef
TARGET_CFLAGS += -std=gnu11
define Package/krb5-libs/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DIR) $(1)/usr/lib/krb5