summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-07-12 13:20:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:32 -0500
commitfd7ac5ad4c7c055d4fad6640c49ec7c852ad3053 (patch)
tree6b0e00befc01cc912de79297545592988e143382 /source4/build/smb_build
parent39c3f220348b2bf2f9b81e8972cc65a2cc7e4b63 (diff)
downloadsamba-fd7ac5ad4c7c055d4fad6640c49ec7c852ad3053.tar.gz
samba-fd7ac5ad4c7c055d4fad6640c49ec7c852ad3053.tar.bz2
samba-fd7ac5ad4c7c055d4fad6640c49ec7c852ad3053.zip
r1464: the recent build changes completely lost the speed advantage of using
PCH (in fact, it meant that PCH was a slowdown, not a speedup). To gain speed with PCH you must ensure that the .gch file is compiled with _exactly_ the same options as the normal object files. this fixes the .gch build options (This used to be commit 910ca1748648a58daaea6a04d5c96e6c62f79c40)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/makefile.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/smb_build/makefile.pl b/source4/build/smb_build/makefile.pl
index 7f05ed9bcd..c04010d3d6 100644
--- a/source4/build/smb_build/makefile.pl
+++ b/source4/build/smb_build/makefile.pl
@@ -839,7 +839,7 @@ sub _prepare_makefile_in($)
$output .= _prepare_dummy_MAKEDIR();
$output .= _prepare_std_CC_rule("c","o","\@PICFLAG\@","Compiling","Rule for std objectfiles");
- $output .= _prepare_std_CC_rule("h","h.gch","","Precompiling","Rule for precompiled headerfiles");
+ $output .= _prepare_std_CC_rule("h","h.gch","\@PICFLAG\@","Precompiling","Rule for precompiled headerfiles");
$output .= _prepare_obj_lists($CTX);