summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie
diff options
context:
space:
mode:
authorobache <obache>2010-04-01 06:59:19 +0000
committerobache <obache>2010-04-01 06:59:19 +0000
commit254e41c3c186f7842d98e13fb263e3ca23072da0 (patch)
treece5bedc8f07fb850b8a4fa1874669fcf69f711c4 /benchmarks/bonnie
parentf877d5f281f3b28d51ad6304675bca11ffd267fe (diff)
downloadpkgsrc-254e41c3c186f7842d98e13fb263e3ca23072da0.tar.gz
Need 64bit off_t, so pass -D_FILE_OFFSET_BITS=64 to CFLAGS on Linux.
Fixes PR#43094.
Diffstat (limited to 'benchmarks/bonnie')
-rw-r--r--benchmarks/bonnie/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmarks/bonnie/Makefile b/benchmarks/bonnie/Makefile
index ee0b1c4bab2..6c36d48ec58 100644
--- a/benchmarks/bonnie/Makefile
+++ b/benchmarks/bonnie/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2008/06/12 02:14:15 joerg Exp $
+# $NetBSD: Makefile,v 1.35 2010/04/01 06:59:19 obache Exp $
DISTNAME= bonnie
PKGNAME= bonnie-2.06
@@ -22,6 +22,8 @@ USE_TOOLS+= expr groff nroff
USE_BSD_MAKEFILE= yes
MANCOMPRESSED_IF_MANZ= yes
+CFLAGS.Linux+= -D_FILE_OFFSET_BITS=64
+
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
post-extract: