projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24e3f2a
)
bc: fix building with GCC 15.1
author
John Audia
<
[email protected]
>
Sun, 1 Jun 2025 13:42:05 +0000
(09:42 -0400)
committer
Hannu Nyman
<
[email protected]
>
Sun, 8 Jun 2025 08:39:30 +0000
(11:39 +0300)
Force the default C version to -std=gnu17.
Signed-off-by: John Audia <
[email protected]
>
utils/bc/Makefile
patch
|
blob
|
history
diff --git
a/utils/bc/Makefile
b/utils/bc/Makefile
index 8c54a5296c827ead9deb6d3c12cf51f613461d22..d44f7112912e401e63a0aa498504e322df18ab95 100644
(file)
--- 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