X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftoolchain.cpp;h=cdbc7aa0ae4e4e55ebfe76b28b8efc85df59b510;hb=8170b77be8c1ec66f4e860fe88dafa791031e57f;hp=6c7dae1e5c43dd4c5391fd822ff1d4aa50572978;hpb=338eefb513953ae55e8e3614c009c242ba8ad74e;p=builder.git diff --git a/source/toolchain.cpp b/source/toolchain.cpp index 6c7dae1..cdbc7aa 100644 --- a/source/toolchain.cpp +++ b/source/toolchain.cpp @@ -21,10 +21,10 @@ const Tool &Toolchain::get_tool(const string &tag) const return *get_item(tools, tag); } -const Tool *Toolchain::get_tool_for_suffix(const string &suffix) const +const Tool *Toolchain::get_tool_for_suffix(const string &suffix, bool aux) const { for(ToolMap::const_iterator i=tools.begin(); i!=tools.end(); ++i) - if(i->second->accepts_suffix(suffix)) + if(i->second->accepts_suffix(suffix, aux)) return i->second; return 0;