Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/sbin/zpool Define print_timestamp during...



details:   https://anonhg.NetBSD.org/src/rev/9c37480390b3
branches:  trunk
changeset: 759625:9c37480390b3
user:      haad <haad%NetBSD.org@localhost>
date:      Tue Dec 14 01:03:10 2010 +0000

description:
Define print_timestamp during build, to shut up gcc warning.

diffstat:

 external/cddl/osnet/sbin/zpool/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 39192a9c53db -r 9c37480390b3 external/cddl/osnet/sbin/zpool/Makefile
--- a/external/cddl/osnet/sbin/zpool/Makefile   Tue Dec 14 01:01:40 2010 +0000
+++ b/external/cddl/osnet/sbin/zpool/Makefile   Tue Dec 14 01:03:10 2010 +0000
@@ -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}



Home | Main Index | Thread Index | Old Index