summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau2020-11-14 11:47:39 +0000
committerFelix Fietkau2020-11-14 13:48:30 +0000
commita99f88a1866ec082ab635db31a90de618840b165 (patch)
treeabb551b21758a9f2c5ca63ccef28c4cdaf8ab944
parent31043704558efdeb25e2be9b03f211513047c635 (diff)
downloadopenwrt-a99f88a1866ec082ab635db31a90de618840b165.tar.gz
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