diff options
-rw-r--r-- | backend/ninja/Ninja.cpp | 2 | ||||
-rw-r--r-- | src/CmakeModule.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 78ac68b..3befe76 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -631,7 +631,7 @@ namespace backend { case Compiler::GCC: { - optimizationFlags = "'-O0'"; + optimizationFlags = "'-Og'"; break; } case Compiler::MSVC: diff --git a/src/CmakeModule.cpp b/src/CmakeModule.cpp index 6313eb0..7f517e3 100644 --- a/src/CmakeModule.cpp +++ b/src/CmakeModule.cpp @@ -141,7 +141,7 @@ namespace sibs } } //cmd += TINYDIR_STRING(" -DCMAKE_SKIP_RPATH=\"1\""); - cmd += TINYDIR_STRING(" -DCMAKE_EXPORT_COMPILE_COMMANDS"); + cmd += TINYDIR_STRING(" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"); cmd += TINYDIR_STRING(" \"-B"); cmd += buildPath; cmd += TINYDIR_STRING("\" \"-H"); |