From: Felix Fietkau Date: Sat, 14 Nov 2020 11:52:58 +0000 (+0100) Subject: tools/bc: use autoreconf to fix build failure on macOS with recent Xcode versions X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6c2ef55e6963d6ae36c4f9c85adaf7fe7aa1f369;p=openwrt%2Fstaging%2Fadrian.git tools/bc: use autoreconf to fix build failure on macOS with recent Xcode versions Signed-off-by: Felix Fietkau --- 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))