summaryrefslogtreecommitdiff
path: root/make/ext2root.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/ext2root.mk')
-rw-r--r--make/ext2root.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/ext2root.mk b/make/ext2root.mk
index ad0dd1db5..bcc7b6e46 100644
--- a/make/ext2root.mk
+++ b/make/ext2root.mk
@@ -17,7 +17,8 @@ $(GENEXT2_DIR): $(DL_DIR)/$(GENEXT2_SOURCE) $(GENEXT2_PATCH)
cat $(GENEXT2_PATCH) | patch -p1 -d $(GENEXT2_DIR)
$(GENEXT2_DIR)/genext2fs: $(GENEXT2_DIR)
- $(MAKE) CFLAGS="-Wall -O2 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64" -C $(GENEXT2_DIR);
+ $(MAKE) CFLAGS="Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
+ -D_FILE_OFFSET_BITS=64" -C $(GENEXT2_DIR);
touch -c $(GENEXT2_DIR)/genext2fs
genext2fs: $(GENEXT2_DIR)/genext2fs