Do not built 64b atomic ops to libzpool they are in libc again.
This commit is contained in:
parent
06386a01bd
commit
3bd4964ac1
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile,v 1.5 2010/12/14 09:19:14 haad Exp $
|
# $NetBSD: Makefile,v 1.6 2010/12/14 23:39:11 haad Exp $
|
||||||
|
|
||||||
.include "${.CURDIR}/../../dist/uts/common/Makefile.files"
|
.include "${.CURDIR}/../../dist/uts/common/Makefile.files"
|
||||||
.include "../../Makefile.zfs"
|
.include "../../Makefile.zfs"
|
||||||
|
@ -23,13 +23,6 @@ SRCS+= ${ZFS_COMMON_OBJS:C/.o$/.c/}
|
||||||
SRCS+= ${ZFS_SHARED_OBJS:C/.o$/.c/}
|
SRCS+= ${ZFS_SHARED_OBJS:C/.o$/.c/}
|
||||||
SRCS+= taskq.c util.c list.o u8_textprep.o
|
SRCS+= taskq.c util.c list.o u8_textprep.o
|
||||||
|
|
||||||
# Add opensolaris atomic functions and use fakedones if we do not support them
|
|
||||||
.if ${MACHINE_ARCH} == "i386"
|
|
||||||
CPPFLAGS+= -D__HAVE_ATOMIC64_OPS # add NetBSD 64 add operations on i386
|
|
||||||
.PATH: ${NETBSDSRCDIR}/common/lib/libc/atomic
|
|
||||||
SRCS+= atomic_add_64_cas.c atomic_add_64_nv_cas.c atomic_inc_64_cas.c atomic_dec_64_cas.c
|
|
||||||
.endif
|
|
||||||
|
|
||||||
print:
|
print:
|
||||||
echo ${LIST_SRCS} ${LIST_OBJS}
|
echo ${LIST_SRCS} ${LIST_OBJS}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue