From 1f65cfa34ee95345d2107bac8ff03f0e587bb311 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 20 Jul 2012 02:51:07 +0300 Subject: [PATCH] Include cpu in the build signature --- source/gnucompiler.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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'; -- 2.45.2