summaryrefslogtreecommitdiff
path: root/include/autotools.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/autotools.mk')
-rw-r--r--include/autotools.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 9ba3fc3..a1a5d5d 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 \