Skip to content

Commit 78d81d7

Browse files
committed
Regenerate libelf ./configure script
Solves the issue with current mingw version, since it can't detect the compiler correctly
1 parent 1757bed commit 78d81d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,10 @@ clean: .cleaninst.LINUX.clean .cleaninst.LINUX32.clean .cleaninst.WIN32.clean .c
381381
gz) (cd $(REPODIR)/$(GCC_DIR); tar xfz ../$${archive});; \
382382
bz2) (cd $(REPODIR)/$(GCC_DIR); tar xfj ../$${archive});; \
383383
esac ; \
384-
(cd $(REPODIR)/$(GCC_DIR); rm -rf $${base}; ln -s $${name} $${base}) \
384+
(cd $(REPODIR)/$(GCC_DIR); rm -rf $${base}; ln -s $${name} $${base}) ; \
385+
case "$${base}" in \
386+
libelf) (cd $(REPODIR)/$(GCC_DIR)/$${base}; rm configure; autoreconf -i);;\
387+
esac ; \
385388
done >> $(call log,$@) 2>&1
386389
touch $@
387390

0 commit comments

Comments
 (0)