1
0
mirror of https://github.com/exaloop/codon.git synced 2025-06-03 15:03:52 +08:00

Use g++ instead of gcc

This commit is contained in:
Ibrahim Numanagić 2023-03-05 13:09:11 -08:00
parent 417be680b6
commit 06c93182d2

View File

@ -484,7 +484,7 @@ void LLVMVisitor::writeToExecutable(const std::string &filename,
rpaths.push_back(std::string(path)); rpaths.push_back(std::string(path));
} }
std::vector<std::string> command = {"gcc"}; std::vector<std::string> command = {"g++"};
// Avoid "argument unused during compilation" warning // Avoid "argument unused during compilation" warning
command.push_back("-Wno-unused-command-line-argument"); command.push_back("-Wno-unused-command-line-argument");
// MUST go before -llib to compile on Linux // MUST go before -llib to compile on Linux