]> git.tdb.fi Git - builder.git/blobdiff - source/customizedtool.cpp
Add gcc's private library directory to ClangLinker's system path
[builder.git] / source / customizedtool.cpp
index 0a3f3a5a341238a4a570f76093908d6395bc9cbc..9171996dcbb1a2082dbbc998e3d6806dc61f16ff 100644 (file)
@@ -17,7 +17,7 @@ CustomizedTool::CustomizedTool(Tool &t, const Architecture &a):
        aux_suffixes = parent.get_auxiliary_suffixes();
        processing_unit = parent.get_processing_unit();
 
-       set_run([this](const Target &t){ return parent.run(t); });
+       set_run([this](const Target &tgt){ return parent.run(tgt); });
 }
 
 Target *CustomizedTool::create_source(const Component &c, const FS::Path &p) const
@@ -55,5 +55,5 @@ string CustomizedTool::create_build_signature(const BuildInfo &bi) const
 
 void CustomizedTool::do_prepare(ToolData &tool) const
 {
-       parent.prepare(&static_cast<Tool &>(tool));
+       parent.prepare(static_cast<Tool &>(tool));
 }