sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 74f0c115f04de6ae903288549cb46f1492fc073d
parent 9cd9282d2f40eab2f6c78c59a6937c10d488a401
Author: sin <sin@2f30.org>
Date:   Fri Nov 13 10:59:37 +0000

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.

Diffstat:
config.mk | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/config.mk b/config.mk @@ -10,8 +10,7 @@ AR = ar RANLIB = ranlib # 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 -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 LDFLAGS = -s