Add -D_FILE_OFFSET_BITS=64 to config.mk

stat() will fail if compiled on a 32-bit platform and the file
size is greater than (1<<31)-1 bytes.
This commit is contained in:
sin 2014-06-04 15:08:01 +01:00
parent e2c6ab9a76
commit 1b28deba3d
1 changed files with 1 additions and 1 deletions

View File

@ -8,6 +8,6 @@ MANPREFIX = $(PREFIX)/share/man
#CC = gcc
#CC = musl-gcc
LD = $(CC)
CPPFLAGS = -D_GNU_SOURCE
CPPFLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
CFLAGS = -std=c99 -Wall -Wextra $(CPPFLAGS)
LDFLAGS = -s -lcrypt # -static