aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-30 10:57:28 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-10-30 10:57:28 +0100
commit566cef5c77d4a884f054857c7aa4d3e76d19479e (patch)
tree160cbcbbcc356a638cb3be06e1a5cd379834084c /make.c
parentbf4ffc33598c2b05f7dbb07f688a2eb33b58150b (diff)
Improve file reading
Diffstat (limited to 'make.c')
-rw-r--r--make.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/make.c b/make.c
index 8cc8532..251ca5c 100644
--- a/make.c
+++ b/make.c
@@ -38,6 +38,9 @@ static char *cflags_req[] = {
"-Ivendor/mlib/include",
"-pipe",
"-std=c23",
+#ifdef __linux__
+ "-D_FILE_OFFSET_BITS=64",
+#endif
#ifdef __GLIBC__
"-D_GNU_SOURCE",
#endif