bc: fix building with GCC 15.1

Force the default C version to -std=gnu17.

Signed-off-by: John Audia <therealgraysky@proton.me>
This commit is contained in:
John Audia
2025-06-01 09:42:05 -04:00
committed by Hannu Nyman
parent 24e3f2a4c8
commit 586607cefa

View File

@@ -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