Makefile: add -D_FILE_OFFSET_BITS=64 to CFLAGS
authorRobert Swiecki <robert@swiecki.net>
Sat, 15 Jul 2017 13:04:25 +0000 (15:04 +0200)
committerRobert Swiecki <robert@swiecki.net>
Sat, 15 Jul 2017 13:04:25 +0000 (15:04 +0200)
Makefile

index 64dd28049f00a18af2b1d9886368818cd494183e..60d9b33ac29144213a1b5fe1b1b279d45b2a8e42 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ CC ?= gcc
 EXTRA_CFLAGS := $(CFLAGS)
 
 CFLAGS += -O2 -c -std=gnu11 \
-       -D_GNU_SOURCE \
+       -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \
        -Wformat -Wformat=2 -Wformat-security -fPIE \
        -Wno-format-nonliteral \
        -Wall -Wextra -Werror \