From: Jo-Philipp Wich Date: Wed, 8 Dec 2010 11:55:41 +0000 (+0000) Subject: [include] autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcry... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=c538344bb849373d7fbdc5c0e0d78d02a8d521dd;hp=29c57e618a06f0c6a90106b6b6a795aa9e1b98f9 [include] 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 \