ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 1b28deba3dc648cd2a67c9ea6f8db26fee416fec
parent e2c6ab9a764031727c35cf7e9f829946f5a929e4
Author: sin <sin@2f30.org>
Date:   Wed Jun  4 15:08:01 +0100

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.

Diffstat:
config.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk @@ -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