From: Mikko Rasa Date: Wed, 1 Oct 2014 21:46:42 +0000 (+0300) Subject: Get the executable in GnuCxxCompiler::do_prepare X-Git-Url: http://git.tdb.fi/?p=builder.git;a=commitdiff_plain;h=0480f9ab0bcbe630f4a62c9b7ef7981443f9973f Get the executable in GnuCxxCompiler::do_prepare It's needed for querying the compiler version, and Tool won't get it until after do_prepare. --- diff --git a/source/gnucxxcompiler.cpp b/source/gnucxxcompiler.cpp index 55f7109..cff2c0c 100644 --- a/source/gnucxxcompiler.cpp +++ b/source/gnucxxcompiler.cpp @@ -52,6 +52,7 @@ Target *GnuCxxCompiler::create_source(const FS::Path &path) const void GnuCxxCompiler::do_prepare() { GnuCompiler::do_prepare(); + executable = builder.get_vfs().find_binary(command); if(executable) query_version(); }