]> git.tdb.fi Git - builder.git/blobdiff - source/gnucompiler.cpp
It's no longer necessary to store the name in GnuCompiler
[builder.git] / source / gnucompiler.cpp
index 87fd6623ee91a58ce606d905a95ee8eace56532e..1180b4e89f1218a5d9f678b4415b3e7bd1c0a398 100644 (file)
@@ -14,10 +14,9 @@ using namespace std;
 using namespace Msp;
 
 GnuCompiler::GnuCompiler(Builder &b, const string &t, const string &n):
-       Tool(b, t),
-       name(n)
+       Tool(b, t)
 {
-       executable = builder.get_vfs().find_binary(name);
+       executable = builder.get_vfs().find_binary(n);
 
        const Architecture &arch = builder.get_current_arch();
        if(arch.is_native())