mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
bash: fix build failed with GCC 15 #26784
by applying this patch, build successfully Signed-off-by: hingbong lo <hingbonglo@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
bb43d5f28e
commit
9672ccaf5b
@@ -84,6 +84,8 @@ CONFIGURE_ARGS+= \
|
|||||||
--enable-job-control \
|
--enable-job-control \
|
||||||
--enable-readline
|
--enable-readline
|
||||||
|
|
||||||
|
TARGET_CFLAGS += -std=gnu17
|
||||||
|
|
||||||
define Package/bash/postinst
|
define Package/bash/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
grep -q bash "$${IPKG_INSTROOT}/etc/shells" || {
|
grep -q bash "$${IPKG_INSTROOT}/etc/shells" || {
|
||||||
@@ -100,3 +102,4 @@ define Package/bash/install
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,bash))
|
$(eval $(call BuildPackage,bash))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user