Просмотр исходного кода

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

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 5 лет назад
Родитель
Сommit
6c2ef55e69
2 измененных файлов с 3 добавлено и 1 удалено
  1. 1 1
      tools/Makefile
  2. 2 0
      tools/bc/Makefile

+ 1 - 1
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

+ 2 - 0
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))