[PATCH] Add large file support for 32-bit platforms
authorJens Axboe <axboe@suse.de>
Sun, 9 Oct 2005 14:07:14 +0000 (16:07 +0200)
committerJens Axboe <axboe@suse.de>
Sun, 9 Oct 2005 14:07:14 +0000 (16:07 +0200)
Makefile

index dd2df571c19a33cd3f9802552776146072b51d8c..e26560544c5f97e8d398d7dfe54741e3de3f95f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 CC     = gcc
-CFLAGS = -Wall -O2 -g -D_GNU_SOURCE
+CFLAGS = -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 PROGS  = blkparse blktrace verify_blkparse
 LIBS   = -lpthread
 SCRIPTS        = btrace