diff options
author | Marius Kintel <marius@kintel.net> | 2012-03-31 21:22:41 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-03-31 21:22:41 (GMT) |
commit | 3b375d8c11533c3c37176bdd30db40592867a2e3 (patch) | |
tree | 95938f3863f90cbac7d58a19d69616afb3ff39c3 /src/module.cc | |
parent | 8766b955ecbf58effe4acb41ae244e1a0ee04360 (diff) | |
parent | c869c6e6b28580ab59c614f92d5834bb224bca02 (diff) |
Merge branch 'master' into value
Diffstat (limited to 'src/module.cc')
-rw-r--r-- | src/module.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/module.cc b/src/module.cc index 69623dd..fc849ff 100644 --- a/src/module.cc +++ b/src/module.cc @@ -225,8 +225,12 @@ bool Module::handleDependencies() Module::ModuleContainer::iterator curr = iter++; Module *oldmodule = curr->second; curr->second = ModuleCache::instance()->evaluate(curr->first); - if (curr->second != oldmodule) changed = true; - PRINTB_NOCACHE(" %s: %p", curr->first % curr->second); + if (curr->second != oldmodule) { + changed = true; +#ifdef DEBUG + PRINTB_NOCACHE(" %s: %p", curr->first % curr->second); +#endif + } if (!curr->second) { PRINTB_NOCACHE("WARNING: Failed to compile library '%s'.", curr->first); this->usedlibs.erase(curr); |