Use -D_FILE_OFFSET_BITS=64 by default
Maybe people seem to stumble upon this problem on 32-bit glibc based systems. Just set it by default.
This commit is contained in:
parent
a1c04e932b
commit
eaf3f4811b
|
@ -10,8 +10,7 @@ AR = ar
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
# for NetBSD add -D_NETBSD_SOURCE
|
# for NetBSD add -D_NETBSD_SOURCE
|
||||||
# for glibc on 32bit add -D_FILE_OFFSET_BITS=64 or use something sane
|
|
||||||
# -lrt might be needed on some systems
|
# -lrt might be needed on some systems
|
||||||
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
|
||||||
CFLAGS = -std=c99 -Wall -pedantic
|
CFLAGS = -std=c99 -Wall -pedantic
|
||||||
LDFLAGS = -s
|
LDFLAGS = -s
|
||||||
|
|
Loading…
Reference in New Issue
Block a user