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
commita3e76d9f60346ebff49d0c9bba7910d91b47c704 (patch)
treece5bedc8f07fb850b8a4fa1874669fcf69f711c4 /benchmarks/bonnie
parentef917a486fe3778bc7adcc308669fdba23193a24 (diff)
downloadpkgsrc-a3e76d9f60346ebff49d0c9bba7910d91b47c704.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: