Module Name: src Committed By: haad Date: Tue Dec 14 01:03:10 UTC 2010
Modified Files: src/external/cddl/osnet/sbin/zpool: Makefile Log Message: Define print_timestamp during build, to shut up gcc warning. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/cddl/osnet/sbin/zpool/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/sbin/zpool/Makefile diff -u src/external/cddl/osnet/sbin/zpool/Makefile:1.3 src/external/cddl/osnet/sbin/zpool/Makefile:1.4 --- src/external/cddl/osnet/sbin/zpool/Makefile:1.3 Sun Feb 28 14:45:47 2010 +++ src/external/cddl/osnet/sbin/zpool/Makefile Tue Dec 14 01:03:10 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2010/02/28 14:45:47 haad Exp $ +# $NetBSD: Makefile,v 1.4 2010/12/14 01:03:10 haad Exp $ .include "../../Makefile.zfs" @@ -7,6 +7,8 @@ USETBL= yes SRCS= zpool_main.c zpool_iter.c zpool_util.c zpool_vdev.c +CFLAGS+="-Dprint_timestamp(a)=((void)0)" + DPADD= ${LIBAVL} ${LIBZFS} ${LIBM} ${LIBNVPAIR} ${LIBUUTIL} ${LIBUTIL} ${LIBUMEM} LIBAVL_OBJDIR!= cd ${LIBAVL_SRCDIR} && ${PRINTOBJDIR}