mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 21:33:04 +00:00
build: fix concurrent build failure
Reported by Dengke Du and Robert Yang. https://lists.gnu.org/archive/html/bison-patches/2017-07/msg00000.html * src/local.mk (src/yacc): Make sure the directory exists.
This commit is contained in:
@@ -119,6 +119,7 @@ MOSTLYCLEANFILES += src/yacc
|
||||
|
||||
src/yacc:
|
||||
$(AM_V_GEN)rm -f $@ $@.tmp
|
||||
$(AM_V_at)$(MKDIR_P) src
|
||||
$(AM_V_at)echo '#! /bin/sh' >$@.tmp
|
||||
$(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>$@.tmp
|
||||
$(AM_V_at)chmod a+x $@.tmp
|
||||
|
||||
Reference in New Issue
Block a user