diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-30 16:54:40 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-30 16:54:40 +0200 |
commit | 1a860eda5047e01169fd0571bddfbedb307bb1ad (patch) | |
tree | 5249926cbb9e44f0e078c25318a85a03fb1b8236 | |
parent | 863a6435aea34ccbdf9d4dbf62f623b61fb766b8 (diff) |
Use large file
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | backend/ninja/Ninja.cpp | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -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"), }); |