]> git.tdb.fi Git - builder.git/blobdiff - source/gnuccompiler.cpp
Properly support multiple choice features
[builder.git] / source / gnuccompiler.cpp
index 7089a26ec341a1dfe3e0e8c2c5b18a3e5755d4b3..cedea1050bb7390df3d6e3424c2bcb916a2f0c75 100644 (file)
@@ -5,8 +5,9 @@ using namespace std;
 using namespace Msp;
 
 GnuCCompiler::GnuCCompiler(Builder &b, const Architecture &a):
-       GnuCompiler(b, a, "CC", "gcc")
+       GnuCompiler(b, a, "CC")
 {
+       set_command("gcc", true);
        input_suffixes.push_back(".c");
        aux_suffixes.push_back(".h");
 }