string GnuCompiler::create_build_signature(const BuildInfo &binfo) const
{
string result = FS::basename(executable->get_path());
+ if(!architecture->get_cpu().empty())
+ {
+ result += ",m";
+ result += architecture->get_cpu();
+ }
result += ',';
if(binfo.debug)
result += 'g';
argv.push_back(relative(obj_path, work_dir).str());
argv.push_back(relative(src_path, work_dir).str());
- if(!builder.get_dry_run())
- FS::mkpath(FS::dirname(obj_path), 0755);
-
return new ExternalTask(argv, work_dir);
}