Use mmap when dealing with plain files.
This commit is contained in:
parent
481c9a313f
commit
d04049e559
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.inc,v 1.14 2011/10/12 15:33:38 njoly Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.15 2012/02/16 22:56:12 joerg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -7,7 +7,7 @@ VERSION!= cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
|
|||
CPPFLAGS+= -DVERSION=\"${VERSION}\" -DUGLY
|
||||
|
||||
.if (${HOSTPROG:U} == "")
|
||||
CPPFLAGS+= -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME
|
||||
CPPFLAGS+= -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME -DHAVE_MMAP
|
||||
.endif
|
||||
|
||||
DISTDIR:= ${.PARSEDIR}/dist
|
||||
|
|
Loading…
Reference in New Issue