r18783: fix make pch
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Sep 2006 07:35:30 +0000 (07:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:19:12 +0000 (14:19 -0500)
metze
(This used to be commit e2b16a09b3363d3a72edce03724cb05204f2a350)

source4/main.mk

index 9b9e5f81bb3d15ba29439af9b991fa4e5bd31503..7151ebb70b0e22b6df88d0e13db32912e50d8d83 100644 (file)
@@ -361,7 +361,7 @@ include/includes.d: include/includes.h
 
 .h.h.gch:
        @echo "Precompiling $<"
-       @$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@
+       @$(CC) -Ilib/replace `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@
 
 .y.c:
        @echo "Building $< with $(YACC)"