X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fbinary.cpp;h=079ae84995843d669f632789030e4bbb24bde69d;hb=8ee4fd693c8d15265f0c145221737a322f89618b;hp=6efe77a6475b5ce74fc18d9c2435910b3734f5a8;hpb=3f0f7216789aeedba206308c452623351e406e75;p=builder.git diff --git a/source/binary.cpp b/source/binary.cpp index 6efe77a..079ae84 100644 --- a/source/binary.cpp +++ b/source/binary.cpp @@ -29,6 +29,15 @@ Binary::Binary(Builder &b, const Component &c, const string &p, const list::const_iterator i=objects.begin(); i!=objects.end(); ++i) + if(const Tool *obj_tool = (*i)->get_tool()) + binfo.update_from(obj_tool->get_build_info()); + + Target::collect_build_info(binfo); +} + void Binary::find_dependencies() { if(!component)