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:
parent
417be680b6
commit
06c93182d2
@ -484,7 +484,7 @@ void LLVMVisitor::writeToExecutable(const std::string &filename,
|
||||
rpaths.push_back(std::string(path));
|
||||
}
|
||||
|
||||
std::vector<std::string> command = {"gcc"};
|
||||
std::vector<std::string> command = {"g++"};
|
||||
// Avoid "argument unused during compilation" warning
|
||||
command.push_back("-Wno-unused-command-line-argument");
|
||||
// MUST go before -llib to compile on Linux
|
||||
|
Loading…
x
Reference in New Issue
Block a user