From b5ffdb6f9c7e003223614baac18f03fe02e7d782 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 13 Oct 2010 12:19:37 +1100 Subject: s4: don't rebuild all of heimdal when dynconfig options change only 2 files in heimdal depend on dynconfig variables --- source4/dynconfig/wscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/dynconfig') diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript index e614624d70..d975698ddf 100644 --- a/source4/dynconfig/wscript +++ b/source4/dynconfig/wscript @@ -116,10 +116,12 @@ def configure(conf): sys.exit(1) -def dynconfig_cflags(bld): +def dynconfig_cflags(bld, list=None): '''work out the extra CFLAGS for dynconfig.c''' cflags = [] for f in dyn_cflags.keys(): + if list and not f in list: + continue if not Options.is_install and f == 'MODULESDIR': # we want binaries run from the source dir to use the current # modules, not the installed ones -- cgit