diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index 717ff81593..aac80369e0 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -195,6 +195,7 @@ 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) \ @@ -229,6 +230,7 @@ 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) \ )