summaryrefslogtreecommitdiff
blob: d6d45b9ab0dc6e8bdb669c5ba6c200e1a62c5d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Fix parallel build bugs

http://bugs.gentoo.org/146214

--- sio/Makefile.in
+++ sio/Makefile.in
@@ -179,6 +179,7 @@
 SClose.o: SClose.c $(SYSHDRS_DEP)
 SConnect.o: SConnect.c $(SYSHDRS_DEP)
 SConnectByName.o: SConnectByName.c $(SYSHDRS_DEP)
+SError.o: SError.c $(SYSHDRS_DEP)
 SNew.o: SNew.c $(SYSHDRS_DEP)
 SRead.o: SRead.c $(SYSHDRS_DEP)
 SReadline.o: SReadline.c $(SYSHDRS_DEP)
--- sio/pch.mk.gcc-gch
+++ sio/pch.mk.gcc-gch
@@ -1,5 +1,6 @@
 syshdrs.h.gch: syshdrs.h sio.h usio.h
-	$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) syshdrs.h
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) syshdrs.h -o .tmp.$@
+	mv -f .tmp.$@ $@
 
 PCH=syshdrs.h.gch
 SYSHDRS_DEP=syshdrs.h.gch
--- libncftp/Makefile.in
+++ libncftp/Makefile.in
@@ -353,3 +353,6 @@
 
 u_unmdtm.o: u_unmdtm.c $(SYSHDRS_DEP)
 u_unmdtm.so: u_unmdtm.c $(SYSHDRS_DEP)
+
+u_feat.o: u_feat.c $(SYSHDRS_DEP)
+u_feat.so: u_feat.c $(SYSHDRS_DEP)
--- libncftp/pch.mk.gcc-gch
+++ libncftp/pch.mk.gcc-gch
@@ -1,5 +1,6 @@
 syshdrs.h.gch: syshdrs.h ncftp.h ncftp_errno.h util.h ftp.h
-	$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) syshdrs.h
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) syshdrs.h -o .tmp.$@
+	mv -f .tmp.$@ $@
 
 PCH=syshdrs.h.gch
 SYSHDRS_DEP=syshdrs.h.gch