aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules2
-rw-r--r--README.md1
-rw-r--r--backend/ninja/Ninja.cpp4
3 files changed, 4 insertions, 3 deletions
diff --git a/.gitmodules b/.gitmodules
index b1e924d..03baf03 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
[submodule "depends/libninja"]
path = depends/libninja
- url = https://git.dec05eba.com/libninja
+ url = git://git.dec05eba.com/libninja
diff --git a/README.md b/README.md
index 4b16ecc..c4f7a95 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ Simple Build System for Native Languages
Commands:
build Build a project that contains a project.conf file
+ run Build and run a project that contains a project.conf file
new Create a new project
init Initialize project in an existing directory
test Build and run tests for a sibs project
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 34fe6e7..ace95d9 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -459,9 +459,9 @@ namespace backend
case OPT_LEV_RELEASE:
{
if(config.use_flto)
- return { ninja::NinjaArg::createRaw("-O3 -g0 -DNDEBUG -flto") };
+ return { ninja::NinjaArg::createRaw("-O3 -g0 -DNDEBUG -flto") };
else
- return {};
+ return { ninja::NinjaArg::createRaw("-O3 -g0 -DNDEBUG") };
}
}
break;