[openwrt/openwrt] toolchain: glibc: Fix build with autoconf 2.71

LEDE Commits lede-commits at lists.infradead.org
Thu May 18 09:56:02 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/76f241ad57da585d24f5fe56508f26780b8d885e

commit 76f241ad57da585d24f5fe56508f26780b8d885e
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Thu May 18 00:31:21 2023 +0200

    toolchain: glibc: Fix build with autoconf 2.71
    
    The glibc build was failing with this error message:
      aclocal.m4:6: error: Exactly version 2.69 of Autoconf is required but you have 2.71
      aclocal.m4:6: the top level
    
    The autoconf run on glibc is not needed, just remove it.
    
    Fixes: #12631
    Fixes: 030447b8f4c7 ("tools/autoconf: bump to 2.71")
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 toolchain/glibc/common.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk
index 4fe5761f45..0d880e04df 100644
--- a/toolchain/glibc/common.mk
+++ b/toolchain/glibc/common.mk
@@ -79,11 +79,6 @@ define Host/SetToolchainInfo
 endef
 
 define Host/Configure
-	[ -f $(HOST_BUILD_DIR)/.autoconf ] || { \
-		cd $(HOST_BUILD_DIR)/; \
-		autoconf --force && \
-		touch $(HOST_BUILD_DIR)/.autoconf; \
-	}
 	mkdir -p $(CUR_BUILD_DIR)
 	( cd $(CUR_BUILD_DIR); rm -f config.cache; \
 		$(GLIBC_CONFIGURE) \




More information about the lede-commits mailing list