aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--backend/ninja/Ninja.cpp1
2 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index b68642a..f4aff89 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,8 @@
# Simple Build System for Native Languages
Sibs is inspired by [Cargo](https://github.com/rust-lang/cargo/), you can think of it like a C/C++/Zig version of Cargo. Sibs can build cmake projects as well, so you can use sibs with existing cmake projects with minimal work.
-List of packages can be found at https://git.dec05eba.com/sibs-packages/plain/packages.json (currently in progress of moving existing sibs packages from github to git.dec05eba.com).
+List of packages can be found at https://git.dec05eba.com/sibs-packages/plain/packages.json (currently in progress of moving existing sibs packages from github to git.dec05eba.com).\
+Packages available on your system accessible by pkg-config are also used.\
+Projects in subdirectories will also be built as dependencies (these are not set in project.conf). The recommended way is to use git submodules.
# Usage
```
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp
index 980ef2c..8f04071 100644
--- a/backend/ninja/Ninja.cpp
+++ b/backend/ninja/Ninja.cpp
@@ -1013,6 +1013,7 @@ namespace backend
ninja::NinjaArg::createRaw("-fdiagnostics-color=always"),
ninja::NinjaArg::createRaw("-pipe"),
ninja::NinjaArg::createRaw("-D_FILE_OFFSET_BITS=64"),
+ ninja::NinjaArg::createRaw("-D_USE_LARGEFILE"),
ninja::NinjaArg::createRaw("-Winvalid-pch -D_GNU_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE"),
});