Module Name:    src
Committed By:   tron
Date:           Wed Feb 24 11:56:35 UTC 2010

Modified Files:
        src/external/cddl/osnet/usr.sbin/zdb: Makefile

Log Message:
Disable stack protection warnings for "zdb_il.c" which uses a dynamically
sized array on the stack.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/cddl/osnet/usr.sbin/zdb/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/usr.sbin/zdb/Makefile
diff -u src/external/cddl/osnet/usr.sbin/zdb/Makefile:1.2 src/external/cddl/osnet/usr.sbin/zdb/Makefile:1.3
--- src/external/cddl/osnet/usr.sbin/zdb/Makefile:1.2	Wed Oct 21 22:29:54 2009
+++ src/external/cddl/osnet/usr.sbin/zdb/Makefile	Wed Feb 24 11:56:35 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2009/10/21 22:29:54 joerg Exp $
+#	$NetBSD: Makefile,v 1.3 2010/02/24 11:56:35 tron Exp $
 
 .include "../../Makefile.zfs"
 
@@ -29,6 +29,8 @@
 
 LDADD+= 	-lm -lpthread
 
+COPTS.zdb_il.c += -Wno-stack-protector
+
 .PATH:	${ZFSDIR}/dist/cmd/zdb
 
 .include <bsd.prog.mk>

Reply via email to