X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnucompiler.cpp;h=6335aaf3cc4f51ce513b06ad3735de751e05db56;hb=f41742cb2b21241634c123561b71ee1667cb1ff4;hp=16e7ccac1d88da73a34776e288980b295f4f0747;hpb=d75cd87bdcf889148d50415366d713ed82456945;p=builder.git diff --git a/source/gnucompiler.cpp b/source/gnucompiler.cpp index 16e7cca..6335aaf 100644 --- a/source/gnucompiler.cpp +++ b/source/gnucompiler.cpp @@ -27,7 +27,7 @@ const char *cpus[] = } -GnuCompiler::GnuCompiler(Builder &b, const Architecture &a, const string &t, const FS::Path &sysroot): +GnuCompiler::GnuCompiler(Builder &b, const Architecture &a, const string &t): Tool(b, a, t) { if(tag=="CC") @@ -50,9 +50,6 @@ GnuCompiler::GnuCompiler(Builder &b, const Architecture &a, const string &t, con throw invalid_argument("GnuCompiler::GnuCompiler"); set_command((tag=="CXX" ? "g++" : "gcc"), true); - - if(!sysroot.empty()) - build_info.sysroot = sysroot; } Target *GnuCompiler::create_source(const Component &comp, const FS::Path &path) const