toolchain = "gnu";
}
+ update();
+}
+
+void Architecture::refine(const string &spec)
+{
+ parse_specification(spec);
+ update();
+}
+
+void Architecture::update()
+{
name = type;
if(!cpu.empty())
name += format("-%s", cpu);
name += format("-%s", fpu);
name += format("-%d-%s-%s", bits, system, toolchain);
+ filename_patterns.clear();
if(system=="windows")
{
add_pattern<SharedLibrary>("%.dll");