aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-11-14 12:47:39 +0100
committerFelix Fietkau <nbd@nbd.name>2020-11-14 14:48:30 +0100
commita99f88a1866ec082ab635db31a90de618840b165 (patch)
treeabb551b21758a9f2c5ca63ccef28c4cdaf8ab944
parent31043704558efdeb25e2be9b03f211513047c635 (diff)
downloadupstream-a99f88a1866ec082ab635db31a90de618840b165.tar.gz
upstream-a99f88a1866ec082ab635db31a90de618840b165.tar.bz2
upstream-a99f88a1866ec082ab635db31a90de618840b165.zip
tools/libelf: use autoreconf to fix build failure on macOS with recent Xcode versions
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--tools/libelf/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/libelf/Makefile b/tools/libelf/Makefile
index 9fec8308b5..726c4776bf 100644
--- a/tools/libelf/Makefile
+++ b/tools/libelf/Makefile
@@ -18,8 +18,12 @@ PKG_SOURCE_URL:= \
http://distcache.freebsd.org/ports-distfiles/
HOST_BUILD_PARALLEL:=1
+HOST_FIXUP:=autoreconf
+
include $(INCLUDE_DIR)/host-build.mk
+PKG_REMOVE_FILES :=
+
HOST_CONFIGURE_ARGS += \
--disable-shared \
--enable-elf64