X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnuccompiler.cpp;h=0210a6c4e4e152e2713854a2beebc38972b1e915;hb=69cd5cc73f466181420711fb907979de58687a4c;hp=7089a26ec341a1dfe3e0e8c2c5b18a3e5755d4b3;hpb=25a315f3cb5805614c513ac762ea1bd512ce82cb;p=builder.git diff --git a/source/gnuccompiler.cpp b/source/gnuccompiler.cpp index 7089a26..0210a6c 100644 --- a/source/gnuccompiler.cpp +++ b/source/gnuccompiler.cpp @@ -4,9 +4,10 @@ using namespace std; using namespace Msp; -GnuCCompiler::GnuCCompiler(Builder &b, const Architecture &a): - GnuCompiler(b, a, "CC", "gcc") +GnuCCompiler::GnuCCompiler(Builder &b, const Architecture &a, const FS::Path &sysroot): + GnuCompiler(b, a, "CC", sysroot) { + set_command("gcc", true); input_suffixes.push_back(".c"); aux_suffixes.push_back(".h"); }