]> git.tdb.fi Git - builder.git/blobdiff - source/architecture.h
Add a toolchain field to Architecture
[builder.git] / source / architecture.h
index 153230244f6aedfdce7fd6a5648619108fe93d12..c1446b462949c662eb5f0b117f315f38a42c83f3 100644 (file)
@@ -29,6 +29,7 @@ private:
        std::string fpu;
        std::string system;
        unsigned bits;
+       std::string toolchain;
        std::string name;
        bool native;
        std::string cross_prefix;
@@ -45,6 +46,7 @@ public:
        unsigned get_bits() const { return bits; }
        const std::string &get_cpu() const { return cpu; }
        const std::string &get_fpu() const { return fpu; }
+       const std::string &get_toolchain() const { return toolchain; }
        bool match_name(const std::string &) const;
        std::string best_match(const std::list<std::string> &) const;
        bool is_native() const { return native; }