From: Mikko Rasa Date: Thu, 19 Jul 2012 23:51:07 +0000 (+0300) Subject: Include cpu in the build signature X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1f65cfa34ee95345d2107bac8ff03f0e587bb311;p=builder.git Include cpu in the build signature --- diff --git a/source/gnucompiler.cpp b/source/gnucompiler.cpp index 3f51219..a73fad7 100644 --- a/source/gnucompiler.cpp +++ b/source/gnucompiler.cpp @@ -40,6 +40,11 @@ Target *GnuCompiler::create_target(const list &sources, const string & 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';