diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-26 17:15:42 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 010bd141dd975a30fdeac1bc044cdc076a004475 (patch) | |
tree | cc872a743ae0e4fb255973e4661d096b0ab3ba91 /backend/ninja | |
parent | b4b2ef62d02d1edc5218bd157599fe7a9fd697b1 (diff) |
Oops
Diffstat (limited to 'backend/ninja')
-rw-r--r-- | backend/ninja/Ninja.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 9a445c2..e8fe16d 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -1058,7 +1058,7 @@ namespace backend compileCCommand.insert(compileCCommand.end(), sanitizerFlags.begin(), sanitizerFlags.end()); compileCppCommand = compileCCommand; - compileCppCommand[1] = ninja::NinjaArg(cppCompilerName); + compileCppCommand[0] = ninja::NinjaArg::createRaw(cppCompilerName); compileCppCommand.insert(compileCppCommand.end(), { ninja::NinjaArg("-fexceptions"), ninja::NinjaArg("-Wnon-virtual-dtor") |