X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuilder.h;h=25f06457b624da63f1a011f0d570c6badba03a82;hb=338eefb513953ae55e8e3614c009c242ba8ad74e;hp=44bf878b4efa1e1b24d4793b669a1b08e5b342dc;hpb=dc00ddd224634c86f0a470f1f6f534be5d3e64a3;p=builder.git diff --git a/source/builder.h b/source/builder.h index 44bf878..25f0645 100644 --- a/source/builder.h +++ b/source/builder.h @@ -12,6 +12,7 @@ #include "misc.h" #include "problem.h" #include "target.h" +#include "toolchain.h" class Analyzer; class Config; @@ -80,6 +81,7 @@ private: Architecture *current_arch; StringMap cross_prefixes; ProfileTemplateMap profile_tmpl; + Toolchain toolchain; ProblemList problems; Analyzer *analyzer; @@ -146,6 +148,8 @@ public: const StringList &get_warnings() const { return warnings; } void apply_profile_template(Config &, const std::string &) const; + const Toolchain &get_toolchain() const { return toolchain; } + /** Adds a target to both the target map and the new target queue. Called from Target constructor. */ void add_target(Target *);