Revert "package/pkg-autotools: force cross compiling"

This reverts commit 83e06196ab 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 <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2023-03-08 18:47:53 +01:00 committed by Peter Korsgaard
parent 63e33bf88d
commit 3c4d628827

View File

@ -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) \
)