aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-02 13:31:14 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit1ffa0d60b0f253506a4e1e335f98c71bba3b866d (patch)
treed1a908d11900f43340bf3157972885545b7587b3 /backend
parent0730f0379df326d8fd0ef71793ec90cf4a020119 (diff)
Testing static linking on linux
Diffstat (limited to 'backend')
-rw-r--r--backend/ninja/Ninja.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 9ec12d3..8b92af1 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -397,7 +397,8 @@ namespace backend
ninja::NinjaArg::createRaw("-g3"),
ninja::NinjaArg::createRaw("-D_FORTIFY_SOURCE=2"),
ninja::NinjaArg::createRaw("-D_GLIBCXX_ASSERTIONS"),
- ninja::NinjaArg::createRaw("-fasynchronous-unwind-tables")
+ ninja::NinjaArg::createRaw("-fasynchronous-unwind-tables"),
+ ninja::NinjaArg::createRaw("-D_DEBUG")
};
}
case OPT_LEV_RELEASE:
@@ -419,7 +420,9 @@ namespace backend
{
return {
ninja::NinjaArg::createRaw("/Od"),
- ninja::NinjaArg::createRaw("/MTd")
+ ninja::NinjaArg::createRaw("/Zi"),
+ ninja::NinjaArg::createRaw("/MTd"),
+ ninja::NinjaArg::createRaw("/D_DEBUG")
};
}
case OPT_LEV_RELEASE: