From 74677fd2b3c7cea4cde867195b44859750d78ef6 Mon Sep 17 00:00:00 2001 From: sbd Date: Mon, 1 Apr 2013 06:30:45 +0000 Subject: Define _POSIX_SOURCE on Linux. --- benchmarks/ubench/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'benchmarks') diff --git a/benchmarks/ubench/Makefile b/benchmarks/ubench/Makefile index 7c0eb13d526..6c5bdc90f18 100644 --- a/benchmarks/ubench/Makefile +++ b/benchmarks/ubench/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2012/09/11 22:37:15 asau Exp $ +# $NetBSD: Makefile,v 1.9 2013/04/01 06:30:45 sbd Exp $ # DISTNAME= ubench-0.32 @@ -19,6 +19,7 @@ SUBST_FILES.path= Makefile SUBST_SED.path= -e "s,/usr/local,${DESTDIR}${PREFIX}," CFLAGS.SunOS+= -DSunOS +CFLAGS.Linux+= -D_POSIX_SOURCE post-install: ${INSTALL_MAN} ${WRKSRC}/ubench.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 -- cgit v1.2.3