From: Jo-Philipp Wich Date: Wed, 8 Dec 2010 11:55:41 +0000 (+0000) Subject: autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fa3c5ac38aed85b86cdf159e59524d5fcb3f70fc;p=openwrt%2Fstaging%2Frmilecki.git autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++) SVN-Revision: 24344 --- diff --git a/include/autotools.mk b/include/autotools.mk index 9ba3fc33b9e..a1a5d5d8152 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 \