From 003f12c8e9b3ae8bc00658a8763ebd593ac8c390 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 9 Jul 2012 00:01:37 +0300 Subject: [PATCH] Add a method to determine whether an architecture requires cross-compilation --- source/architecture.h | 1 + 1 file changed, 1 insertion(+) diff --git a/source/architecture.h b/source/architecture.h index c07297a..5446c04 100644 --- a/source/architecture.h +++ b/source/architecture.h @@ -45,6 +45,7 @@ public: const std::string &get_cpu() const { return cpu; } bool match_name(const std::string &) const; bool is_native() const { return native; } + bool is_cross() const { return !cross_prefix.empty(); } void set_cross_prefix(const std::string &); const std::string &get_cross_prefix() const { return cross_prefix; } -- 2.45.2