summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2016-12-17 01:53:16 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-12-17 01:53:16 +0100
commitb8fb95b2aab338830357db86c7c8f7f85a545eb5 (patch)
treefde63d82c84552e1dc046053c77c982838343a95
parente36423e8c2140a0a5b679f77be907fe9d4501d4f (diff)
download0xFFFF-b8fb95b2aab338830357db86c7c8f7f85a545eb5.tar.bz2
all: Enable Large File Support
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 6813608..be4ade6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,7 +9,7 @@ CC = gcc
CROSS_CC = $(CROSS_COMPILE)$(CC)
HOST_CC = $(HOST_COMPILE)$(CC)
-CPPFLAGS += -DVERSION=\"$(VERSION)\" -DBUILD_DATE="\"$(BUILD_DATE)\"" -D_POSIX_C_SOURCE=200809L
+CPPFLAGS += -DVERSION=\"$(VERSION)\" -DBUILD_DATE="\"$(BUILD_DATE)\"" -D_POSIX_C_SOURCE=200809L -D_FILE_OFFSET_BITS=64
CFLAGS += -W -Wall -O2 -pedantic -std=c99
LIBS += -lusb -ldl