summaryrefslogtreecommitdiff
path: root/archivers/bzip2/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/bzip2/files/Makefile')
-rw-r--r--archivers/bzip2/files/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/archivers/bzip2/files/Makefile b/archivers/bzip2/files/Makefile
index d3cc5dec12c..a2f2bcacec9 100644
--- a/archivers/bzip2/files/Makefile
+++ b/archivers/bzip2/files/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2007/08/02 13:04:42 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2009/03/20 13:47:59 joerg Exp $
#
# Replacement Makefile for bzip2.
#
@@ -7,6 +7,9 @@ OBJS= blocksort.o bzlib.o compress.o crctable.o \
decompress.o huffman.o randtable.o
LOBJS= ${OBJS:R:S/$/.lo/g}
+CFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
+CFLAGS+= -D_FILE_OFFSET_BITS=64
+
all: libbz2.la bzip2 bzip2recover
libbz2.la: ${LOBJS}