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-Tag: reboot~18159 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fa3c5ac38aed85b86cdf159e59524d5fcb3f70fc;p=openwrt%2Fstaging%2Flynxis.git autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++) SVN-Revision: 24344 --- diff --git a/include/autotools.mk b/include/autotools.mk index 9ba3fc33b9..a1a5d5d815 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 \