]> git.tdb.fi Git - builder.git/blobdiff - source/androidcompiler.cpp
Use CustomizedTool for tools which derive from other tools
[builder.git] / source / androidcompiler.cpp
index db089b2f9f332f3d42a03f42575dce0add6ddae2..139d743a016d0c65a2acef29b47b3aba13a2a7ab 100644 (file)
@@ -13,7 +13,7 @@ using namespace std;
 using namespace Msp;
 
 AndroidCompiler::AndroidCompiler(Builder &b, const Architecture &a, const string &t, const AndroidNdk &n):
-       GnuCompiler(b, &a, t),
+       CustomizedTool(b, t, a),
        ndk(n)
 {
        if(ndk.get_root_dir().empty())
@@ -43,7 +43,7 @@ void AndroidCompiler::do_prepare(ToolData &tool) const
 {
        const Architecture &arch = *static_cast<const Tool &>(tool).get_architecture();
 
-       GnuCompiler::do_prepare(tool);
+       CustomizedTool::do_prepare(tool);
        if(tag=="CXX")
        {
                unsigned version = tool.extra_data;