File: 0002-Fix-parallel-build-problems-by-Adrian-Bunk.patch

package info (click to toggle)
tiptop 2.3.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 620 kB
  • sloc: ansic: 3,995; sh: 344; makefile: 180; yacc: 115
file content (23 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Tomasz Buchert <tomasz@debian.org>
Date: Fri, 7 Jul 2017 21:15:58 +0200
Subject: Fix parallel build problems (by Adrian Bunk)

---
 src/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Makefile.in b/src/Makefile.in
index 33adffc..4392c06 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -57,8 +57,9 @@ lex.yy.c: calc.lex
 lex.yy.o: lex.yy.c
 	$(CC) $(CFLAGS) -I$(srcdir) -c lex.yy.c
 
+y.tab.c: y.tab.h
 
-y.tab.c y.tab.h: calc.y
+y.tab.h: calc.y
 	$(YACC) -d $(srcdir)/calc.y
 
 y.tab.o: y.tab.c