summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-07-01 18:26:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:09 -0500
commit05089818a03ae94a3368415eeef5432a8ab81c00 (patch)
tree2cb53cb73b73739ab12a4d413a1f8357a29aa5ca
parent9d0ccba34c645de612821c929f56b44f74c88c71 (diff)
downloadsamba-05089818a03ae94a3368415eeef5432a8ab81c00.tar.gz
samba-05089818a03ae94a3368415eeef5432a8ab81c00.tar.bz2
samba-05089818a03ae94a3368415eeef5432a8ab81c00.zip
r16751: 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. (This used to be commit b79e1c011d577581eebb90b95dbdee11f8a96c3b)
-rw-r--r--source3/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index c8174d8440..127936125b 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -851,8 +851,8 @@ MAKEDIR = || exec false; \
# 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