[include] autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcry...
[openwrt/svn-archive/archive.git] / include / autotools.mk
index 9ba3fc3..a1a5d5d 100644 (file)
@@ -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 \