From 1e1feadead0c1ab0428b1cfbfcd8c533295a1017 Mon Sep 17 00:00:00 2001 From: John Audia Date: Sun, 1 Jun 2025 09:38:23 -0400 Subject: [PATCH] db: fix building with GCC 15.1 Force the default C version to -std=gnu17. Signed-off-by: John Audia --- libs/db/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/db/Makefile b/libs/db/Makefile index 9a44eace88..6e124c3ccb 100644 --- a/libs/db/Makefile +++ b/libs/db/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=db PKG_VERSION:=5.3.28 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://download.oracle.com/berkeley-db/ @@ -65,7 +65,7 @@ CONFIGURE_ARGS += \ --disable-debug \ $(if $(CONFIG_PACKAGE_libdb47xx),--enable-cxx,--disable-cxx) -TARGET_CFLAGS += $(FPIC) +TARGET_CFLAGS += $(FPIC) -std=gnu17 define Build/Compile +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/build_unix \