]> git.tdb.fi Git - builder.git/blobdiff - source/architecture.h
Introduce a helper function in Architecture to pick the best matching name
[builder.git] / source / architecture.h
index d84173e67029f2bcd7a74a230dc6a7ee388dd090..69a6ec9d49d40dc0524c05e8e8afd23223b4a25b 100644 (file)
@@ -44,6 +44,7 @@ public:
        unsigned get_bits() const { return bits; }
        const std::string &get_cpu() const { return cpu; }
        bool match_name(const std::string &) const;
+       std::string best_match(const std::list<std::string> &) const;
        bool is_native() const { return native; }
        bool is_cross() const { return !cross_prefix.empty(); }