From 254e41c3c186f7842d98e13fb263e3ca23072da0 Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 1 Apr 2010 06:59:19 +0000 Subject: Need 64bit off_t, so pass -D_FILE_OFFSET_BITS=64 to CFLAGS on Linux. Fixes PR#43094. --- benchmarks/bonnie/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'benchmarks') 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: -- cgit v1.2.3