From: jow Date: Wed, 8 Dec 2010 11:55:41 +0000 (+0000) Subject: [include] autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcry... X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/70a9f15283f9047a0033944b21739d1902206eec [include] autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24344 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/autotools.mk b/include/autotools.mk index 9ba3fc33b..a1a5d5d81 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -20,6 +20,7 @@ define autoreconf if [ -x ./autogen.sh ]; then \ ./autogen.sh || true; \ elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \ + rm -f ./GNUmakefile; \ $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ $(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \ fi \