X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnuccompiler.cpp;h=0210a6c4e4e152e2713854a2beebc38972b1e915;hb=6382743d26f8d5bb10a53cb907659bee6614b549;hp=f0d356cbedcdfe7385a0b247fa727d7b4fe8659b;hpb=e09cea0ffcef4ab5ea35c47c5b34237c44d0741f;p=builder.git diff --git a/source/gnuccompiler.cpp b/source/gnuccompiler.cpp index f0d356c..0210a6c 100644 --- a/source/gnuccompiler.cpp +++ b/source/gnuccompiler.cpp @@ -4,9 +4,10 @@ using namespace std; using namespace Msp; -GnuCCompiler::GnuCCompiler(Builder &b): - GnuCompiler(b, "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"); }