summaryrefslogtreecommitdiffstats
path: root/src/build.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-01-07 21:58:28 (GMT)
committerEvan Martin <martine@danga.com>2011-01-07 21:58:28 (GMT)
commit6831ba38d101f4bd9c7e39da511fde4117db97ad (patch)
tree211d91df5c7806dbcc4ab7c33600ed37f6c2955d /src/build.cc
parent681de18033236071e822ca709d912d32cd4b2f83 (diff)
downloadNinja-6831ba38d101f4bd9c7e39da511fde4117db97ad.zip
Ninja-6831ba38d101f4bd9c7e39da511fde4117db97ad.tar.gz
Ninja-6831ba38d101f4bd9c7e39da511fde4117db97ad.tar.bz2
state holds build log, not config
Diffstat (limited to 'src/build.cc')
-rw-r--r--src/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.cc b/src/build.cc
index 0607b24..3483848 100644
--- a/src/build.cc
+++ b/src/build.cc
@@ -248,7 +248,7 @@ Builder::Builder(State* state, const BuildConfig& config)
command_runner_ = new RealCommandRunner;
status_ = new BuildStatus;
status_->verbosity_ = config.verbosity;
- log_ = config.build_log;
+ log_ = state->build_log_;
}
Node* Builder::AddTarget(const string& name, string* err) {