From 1a860eda5047e01169fd0571bddfbedb307bb1ad Mon Sep 17 00:00:00 2001
From: dec05eba <dec05eba@protonmail.com>
Date: Thu, 30 Jul 2020 16:54:40 +0200
Subject: Use large file

---
 README.md               | 4 +++-
 backend/ninja/Ninja.cpp | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

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"),
                 });
 
-- 
cgit v1.2.3-70-g09d2