X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftool.h;h=4bbbcf5595a8f3603e85901fb5bdb88503cba6f2;hb=2aaad259f2dff58c1e909f1e6d83961e78fd7d3e;hp=7371103213b91f56483f630da8cada940d3fda66;hpb=3e8f3a5e852e9dd5b78ec3d89c722ef1bae6bef5;p=builder.git diff --git a/source/tool.h b/source/tool.h index 7371103..4bbbcf5 100644 --- a/source/tool.h +++ b/source/tool.h @@ -5,6 +5,7 @@ #include #include +class Architecture; class Builder; class Component; class FileTarget; @@ -23,6 +24,7 @@ public: protected: Builder &builder; + const Architecture *architecture; std::string tag; FileTarget *executable; SuffixList input_suffixes; @@ -30,6 +32,7 @@ protected: SearchPath system_path; Tool(Builder &, const std::string &); + Tool(Builder &, const Architecture &, const std::string &); public: virtual ~Tool() { }