X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanalyzer.cpp;h=98e71a88f32963648aff12e416231198bb11c8e0;hb=dc4b917034c9d3718f07139e2f0f3631a080c6f3;hp=70f5f2076f3a68de00f74479f5f36f2565edee14;hpb=8fa75f16e653e22f188bc09c5d04c3cdb5cf8c52;p=builder.git diff --git a/source/analyzer.cpp b/source/analyzer.cpp index 70f5f20..98e71a8 100644 --- a/source/analyzer.cpp +++ b/source/analyzer.cpp @@ -66,7 +66,7 @@ void Analyzer::build_depend_table(Target &tgt, unsigned depth) if(const ObjectFile *obj = dynamic_cast(&tgt)) return build_depend_table(obj->get_source(), depth); } - else if(mode==REBUILD && !tgt.get_rebuild() && !real->get_rebuild()) + else if(mode==REBUILD && !tgt.needs_rebuild() && !real->needs_rebuild()) /* All targets that depend on to-be-built targets will be rebuilt themselves, so we can stop here. */ return; @@ -94,7 +94,7 @@ void Analyzer::build_depend_table(Target &tgt, unsigned depth) else row.push_back(""); - if(tgt.get_rebuild()) + if(tgt.needs_rebuild()) { if(tgt.get_rebuild_reason().empty()) row.push_back("Yes (no reason)");