From 3c4d6288278b46b122ab9c011bbbdf8696281b88 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 8 Mar 2023 18:47:53 +0100 Subject: [PATCH] Revert "package/pkg-autotools: force cross compiling" This reverts commit 83e06196ab2193b73b4d7c1decc12bdd654a91e1 which raises the following build failure with thttpd or wipe: configure: warning: cross_compiling=yes: invalid host type loading site script /dev/null creating cache ./config.cache configure: error: can only configure for one host and one target at a time Fixes: - http://autobuild.buildroot.org/results/e2156c3747b37d0ec2559a67f2f468ad42a20dbc - http://autobuild.buildroot.org/results/a356dd0cd1fb4c9a1b9d6a4cbad4ae2a34dbb562 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/pkg-autotools.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index aac80369e0..717ff81593 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -195,7 +195,6 @@ define $(2)_CONFIGURE_CMDS --disable-documentation \ --with-xmlto=no \ --with-fop=no \ - cross_compiling=yes \ $$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \ --enable-ipv6 \ $$(NLS_OPTS) \ @@ -230,7 +229,6 @@ define $(2)_CONFIGURE_CMDS --with-xmlto=no \ --with-fop=no \ --disable-nls \ - cross_compiling=no \ $$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \ $$(QUIET) $$($$(PKG)_CONF_OPTS) \ )