diff --git a/codon/cir/llvm/llvisitor.cpp b/codon/cir/llvm/llvisitor.cpp index e698de89..11ff7e82 100644 --- a/codon/cir/llvm/llvisitor.cpp +++ b/codon/cir/llvm/llvisitor.cpp @@ -484,7 +484,7 @@ void LLVMVisitor::writeToExecutable(const std::string &filename, rpaths.push_back(std::string(path)); } - std::vector command = {"gcc"}; + std::vector command = {"g++"}; // Avoid "argument unused during compilation" warning command.push_back("-Wno-unused-command-line-argument"); // MUST go before -llib to compile on Linux