Makefile: fix parallel build failure
At the moment parallel build fails due to 2 causes:
- parsetime.l tries to include incomplete y.tab.h, since y.tab.h is the result of yacc -d parsetime.y
- when compiling y.tab.c, y.tab.c itself is not complete, since it is the result of yacc -d parsetime.y
So fix it by:
- making parsetime.l to wait for y.tab.h to be created by yacc
- waiting for y.tab.c and y.tab.h to be created before compile them
Signed-off-by: Giulio Benetti giulio.benetti@benettiengineering.com
Merge request reports
Activity
added 10 commits
-
3ace0b57...9fda960c - 9 commits from branch
debian:master
- 528c14d1 - Makefile: fix parallel build failure
-
3ace0b57...9fda960c - 9 commits from branch
Hi @calhariz ,
I've rebased this branch to your master. This patch is pretty old and unfortunately I don't have a log where parallel build is failing. But it happened. I should be sufficient creating a little script with and infinite loop that does: make -j16 make clean continuosly. Then it fails, and this patch solves the problem.
Best regards
Edited by Giulio Benettimentioned in commit 8636bd2b
mentioned in merge request !20 (closed)
Please register or sign in to reply