svn commit: samba r16751 - branches/SAMBA_3_0/source trunk/source

jerry at samba.org jerry at samba.org
Sat Jul 1 18:26:31 GMT 2006


Author: jerry
Date: 2006-07-01 18:26:31 +0000 (Sat, 01 Jul 2006)
New Revision: 16751

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16751

Log:
The precompiled header should really be in the $(buildir) and 
not the $(srcdir) to allow multiple concurrent compiles when the 
source tree is shared via nfs.


Modified:
   branches/SAMBA_3_0/source/Makefile.in
   trunk/source/Makefile.in


Changeset:
Modified: branches/SAMBA_3_0/source/Makefile.in
===================================================================
--- branches/SAMBA_3_0/source/Makefile.in	2006-07-01 17:56:32 UTC (rev 16750)
+++ branches/SAMBA_3_0/source/Makefile.in	2006-07-01 18:26:31 UTC (rev 16751)
@@ -851,8 +851,8 @@
 # this adds support for precompiled headers. To use it, install a snapshot
 # of gcc-3.4 and run 'make pch' before you do the main build. 
 pch: proto_exists
-	rm -f $(srcdir)/include/includes.h.gch
-	$(CC) -I. -I$(srcdir) $(FLAGS) @PIE_CFLAGS@ -c $(srcdir)/include/includes.h -o $(srcdir)/include/includes.h.gch
+	rm -f $(builddir)/include/includes.h.gch
+	$(CC) -I. -I$(srcdir) $(FLAGS) @PIE_CFLAGS@ -c $(srcdir)/include/includes.h -o $(builddir)/include/includes.h.gch
 
 # These dependencies are only approximately correct: we want to make
 # sure Samba's paths are updated if ./configure is re-run.  Really it

Modified: trunk/source/Makefile.in
===================================================================
--- trunk/source/Makefile.in	2006-07-01 17:56:32 UTC (rev 16750)
+++ trunk/source/Makefile.in	2006-07-01 18:26:31 UTC (rev 16751)
@@ -879,8 +879,8 @@
 # this adds support for precompiled headers. To use it, install a snapshot
 # of gcc-3.4 and run 'make pch' before you do the main build. 
 pch: proto_exists
-	rm -f $(srcdir)/include/includes.h.gch
-	$(CC) -I. -I$(srcdir) $(FLAGS) @PIE_CFLAGS@ -c $(srcdir)/include/includes.h -o $(srcdir)/include/includes.h.gch
+	rm -f $(builddir)/include/includes.h.gch
+	$(CC) -I. -I$(srcdir) $(FLAGS) @PIE_CFLAGS@ -c $(srcdir)/include/includes.h -o $(builddir)/include/includes.h.gch
 
 # These dependencies are only approximately correct: we want to make
 # sure Samba's paths are updated if ./configure is re-run.  Really it



More information about the samba-cvs mailing list