From 06c93182d2184e603f2784829f33e6c7c0d3dce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ibrahim=20Numanagic=CC=81?= Date: Sun, 5 Mar 2023 13:09:11 -0800 Subject: [PATCH] Use g++ instead of gcc --- codon/cir/llvm/llvisitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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