make: Do not use libelf
authorRosen Penev <rosenp@gmail.com>
Sun, 2 Jun 2019 20:59:53 +0000 (13:59 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 2 Jun 2019 21:06:24 +0000 (14:06 -0700)
libelf is used under Solaris for nlist. This is not needed in OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
devel/make/Makefile

index a2692d42cf56431dddff524f0ef78ae6caf2aeeb..c3dde4def6d3aaeca4702c4305378aa6b64cda59 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=make
 PKG_VERSION:=4.2.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_URL:=@GNU/make
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -37,6 +37,8 @@ define Package/make/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
 endef
 
+CONFIGURE_VARS += ac_cv_lib_elf_elf_begin=no
+
 # provide gnumake.h at build time for other packages
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include