mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user