]> git.tdb.fi Git - builder.git/blobdiff - source/gnucompiler.cpp
Use GnuCompiler's build info to link libstdc++
[builder.git] / source / gnucompiler.cpp
index 59ffdf2fff4e0f65f80c440e650931df25e8dc3f..0c5f2f8611db9eb588b8649fe3867f313153c5fc 100644 (file)
@@ -107,6 +107,9 @@ void GnuCompiler::do_prepare(ToolData &tool) const
        tool.extra_data = 0U;
        prepare_syspath(tool);
        prepare_version(tool);
+
+       if(tag=="CXX")
+               tool.build_info.libs.push_back("stdc++");
 }
 
 void GnuCompiler::prepare_syspath(ToolData &tool) const