X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftool.cpp;h=cefbb8c3b0188c58d525b87def1a5b694f3a40df;hb=28bc25948ff58612600ce29a6a0b2cf58548dff9;hp=1ab3660474cf57de3a31bcf47df6231370beff5e;hpb=722d53055cc78a7a7d9901d2b1fe23a2a33fb623;p=builder.git diff --git a/source/tool.cpp b/source/tool.cpp index 1ab3660..cefbb8c 100644 --- a/source/tool.cpp +++ b/source/tool.cpp @@ -5,7 +5,16 @@ using namespace std; Tool::Tool(Builder &b, const string &t): builder(b), - tag(t) + architecture(0), + tag(t), + executable(0) +{ } + +Tool::Tool(Builder &b, const Architecture &a, const string &t): + builder(b), + architecture(&a), + tag(t), + executable(0) { } bool Tool::accepts_suffix(const string &suffix, bool aux) const