summaryrefslogtreecommitdiffstats
path: root/make/mkdosfs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/mkdosfs.mk')
-rw-r--r--make/mkdosfs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/mkdosfs.mk b/make/mkdosfs.mk
index a3132686b..8fba46e87 100644
--- a/make/mkdosfs.mk
+++ b/make/mkdosfs.mk
@@ -10,7 +10,7 @@ MKDOSFS_CAT:=zcat
MKDOSFS_BINARY:=mkdosfs/mkdosfs
MKDOSFS_TARGET_BINARY:=sbin/mkdosfs
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
-MKDOSFS_CFLAGS="-Os -g -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64"
+MKDOSFS_CFLAGS="-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
else
MKDOSFS_CFLAGS="-Os -g"
endif