-D_FILE_OFFSET_BITS=64 is not needed on NetBSD.
Install the test harness into the correct location.
This commit is contained in:
parent
a1b018359f
commit
cfd783f213
@ -1,4 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.1 2006/02/08 18:57:49 agc Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2007/10/26 19:04:21 agc Exp $
|
||||
|
||||
.sinclude "${.CURDIR}/../../Makefile.inc"
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -7,7 +9,7 @@ DIST= ${.CURDIR}/../../../dist/iscsi
|
||||
|
||||
PROG= iscsi-harness
|
||||
SRCS= tests.c osd_ops.c initiator.c iscsi-harness.c
|
||||
CPPFLAGS+= -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64
|
||||
CPPFLAGS+= -DCONFIG_ISCSI_DEBUG
|
||||
CPPFLAGS+= -I${DIST}/include -I${.CURDIR}/../include
|
||||
CPPFLAGS+= -pthread
|
||||
LDADD+= -L${LIBDIR} -Wl,-R${LIBDIR} -liscsi
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2007/05/28 12:06:35 tls Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2007/10/26 19:04:21 agc Exp $
|
||||
|
||||
.sinclude "${.CURDIR}/../../Makefile.inc"
|
||||
|
||||
@ -11,7 +11,7 @@ DIST= ${.CURDIR}/../../../dist/iscsi
|
||||
|
||||
PROG= iscsi-target
|
||||
SRCS= iscsi-target.c
|
||||
CPPFLAGS+= -DCONFIG_ISCSI_DEBUG -D_FILE_OFFSET_BITS=64
|
||||
CPPFLAGS+= -DCONFIG_ISCSI_DEBUG
|
||||
CPPFLAGS+= -I${DIST}/include
|
||||
CPPFLAGS+= -pthread
|
||||
LDADD+= -liscsi
|
||||
|
Loading…
Reference in New Issue
Block a user