[openwrt/openwrt] tools/bc: use autoreconf to fix build failure on macOS with recent Xcode versions

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 14 09:22:20 EST 2020


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6c2ef55e6963d6ae36c4f9c85adaf7fe7aa1f369

commit 6c2ef55e6963d6ae36c4f9c85adaf7fe7aa1f369
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sat Nov 14 12:52:58 2020 +0100

    tools/bc: use autoreconf to fix build failure on macOS with recent Xcode versions
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 tools/Makefile    | 2 +-
 tools/bc/Makefile | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tools/Makefile b/tools/Makefile
index 65bec34c1b..4aa268de8f 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -41,7 +41,7 @@ tools-$(CONFIG_USE_SPARSE) += sparse
 $(curdir)/autoconf/compile := $(curdir)/m4/compile
 $(curdir)/automake/compile := $(curdir)/m4/compile $(curdir)/autoconf/compile $(curdir)/pkgconf/compile $(curdir)/xz/compile
 $(curdir)/b43-tools/compile := $(curdir)/bison/compile
-$(curdir)/bc/compile := $(curdir)/bison/compile
+$(curdir)/bc/compile := $(curdir)/bison/compile $(curdir)/libtool/compile
 $(curdir)/bison/compile := $(curdir)/flex/compile
 $(curdir)/cbootimage/compile += $(curdir)/automake/compile
 $(curdir)/cmake/compile += $(curdir)/libressl/compile
diff --git a/tools/bc/Makefile b/tools/bc/Makefile
index 3d505d6032..e5af713cf0 100644
--- a/tools/bc/Makefile
+++ b/tools/bc/Makefile
@@ -16,6 +16,8 @@ PKG_SOURCE_URL:=http://alpha.gnu.org/gnu/bc \
 	http://www.nic.funet.fi/pub/gnu/alpha/gnu/bc/
 PKG_HASH:=7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc
 
+PKG_FIXUP := autoreconf
+
 include $(INCLUDE_DIR)/host-build.mk
 
 $(eval $(call HostBuild))



More information about the lede-commits mailing list