Expose 64 bit fileystems API's on Linux and make the default FS API 64 bits
Should unbreak newfs's of fs's, using the tool version of newfs.
This commit is contained in:
parent
da0214b3fa
commit
7b0a191e28
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: bsd.host.mk,v 1.4 2018/02/25 18:53:23 chs Exp $
|
||||
# $NetBSD: bsd.host.mk,v 1.5 2020/08/09 21:13:38 christos Exp $
|
||||
|
||||
.if !defined(_BSD_HOST_MK_)
|
||||
_BSD_HOST_MK_=1
|
||||
|
@ -65,6 +65,10 @@ HOST_MKDEP?= CC=${HOST_CC:Q} mkdep
|
|||
HOST_MKDEPCXX?= CC=${HOST_CXX:Q} mkdep
|
||||
.endif
|
||||
|
||||
.if ${HOST_OSTYPE:MLinux*}
|
||||
HOST_CPPFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
.endif
|
||||
|
||||
.if ${NEED_OWN_INSTALL_TARGET} != "no"
|
||||
HOST_INSTALL_FILE?= ${INSTALL} ${COPY} ${PRESERVE} ${RENAME}
|
||||
HOST_INSTALL_DIR?= ${INSTALL} -d
|
||||
|
|
Loading…
Reference in New Issue