summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-12-21 21:09:59 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-12-21 21:17:01 -0500
commitafb63a82ae165b6630a35ab5945973358c8119b6 (patch)
tree14321d0553a9797ed34acd1e1b156678f5bb59cd /Makefile
parente5af47a6eac34dbf380949b9dad5ed8373d10d37 (diff)
downloadbfs-afb63a82ae165b6630a35ab5945973358c8119b6.tar.xz
Set _FILE_OFFSET_BITS to 64
With the new support for -size n[TP], this is needed to avoid overflow on 32-bit platforms.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0143857..b8d2b5b 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,7 @@ LOCAL_CPPFLAGS := \
-D_ATFILE_SOURCE \
-D__EXTENSIONS__ \
-D_DARWIN_C_SOURCE \
+ -D_FILE_OFFSET_BITS=64 \
-DBFS_VERSION=\"$(VERSION)\"
LOCAL_CFLAGS := -std=c99