commit 61a36ba0c1744eddbe7a7210ec86ac17d24d1e6c
parent bc36e6f9d6884c0f5a5d50b09f7686e9b91ef95b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Thu, 19 Jun 2014 17:21:19 +0200
pkgtools: set same defines as upstream pkgtools
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgtools/pkgtools.mk b/pkgtools/pkgtools.mk
@@ -4,7 +4,7 @@ DEPS = libarchive zlib
<$mkbuild/mk.common-noinst
pkgtools:QV:
- export CFLAGS="$CFLAGS $DEPS_CFLAGS -DVERSION=\\\"$v\\\""
+ export CFLAGS="$CFLAGS $DEPS_CFLAGS -DVERSION=\\\"$v\\\" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
make -j$nprocs CC="${CC} -static" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
PREFIX="$PREFIX"