Target *get_library(const std::string &, const StringList &, LibMode);
const Msp::FS::Path &get_cwd() const { return cwd; }
const Architecture &get_architecture(const std::string &) const;
- const Architecture &get_current_arch() const;
+ const Architecture &get_current_arch() const { return *current_arch; }
+ const Architecture &get_native_arch() const { return *native_arch; }
const Msp::FS::Path &get_prefix() const { return prefix; }
const StringList &get_warnings() const { return warnings; }
void apply_profile_template(Config &, const std::string &) const;
TargetMap libraries;
ArchMap archs;
+ Architecture *native_arch;
+ const Architecture *current_arch;
ProfileTemplateMap profile_tmpl;
ProblemList problems;
bool conf_only;
bool build_all;
bool create_makefile;
- std::string current_arch;
Msp::FS::Path prefix;
StringList warnings;