From 586607cefae0fe2e87957ee803c890eed5a17318 Mon Sep 17 00:00:00 2001 From: John Audia Date: Sun, 1 Jun 2025 09:42:05 -0400 Subject: [PATCH] bc: fix building with GCC 15.1 Force the default C version to -std=gnu17. Signed-off-by: John Audia --- utils/bc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/bc/Makefile b/utils/bc/Makefile index 8c54a5296c..d44f711291 100644 --- a/utils/bc/Makefile +++ b/utils/bc/Makefile @@ -21,6 +21,8 @@ PKG_LICENSE_FILES:=COPYING PKG_FIXUP:=autoreconf PKG_CPE_ID:=cpe:/a:gnu:bc +TARGET_CFLAGS += $(FPIC) -std=gnu17 + include $(INCLUDE_DIR)/package.mk define Package/bc/Default -- 2.30.2