Module Name:    src
Committed By:   tron
Date:           Wed Feb 24 12:51:06 UTC 2010

Modified Files:
        src/external/cddl/osnet/lib/libdtrace: Makefile

Log Message:
Disable stack protection warnings for sources which use dynamically
sized stack buffers.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/cddl/osnet/lib/libdtrace/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/lib/libdtrace/Makefile
diff -u src/external/cddl/osnet/lib/libdtrace/Makefile:1.2 src/external/cddl/osnet/lib/libdtrace/Makefile:1.3
--- src/external/cddl/osnet/lib/libdtrace/Makefile:1.2	Sun Feb 21 01:46:35 2010
+++ src/external/cddl/osnet/lib/libdtrace/Makefile	Wed Feb 24 12:51:05 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2010/02/21 01:46:35 darran Exp $
+#	$NetBSD: Makefile,v 1.3 2010/02/24 12:51:05 tron Exp $
 
 # $FreeBSD: src/cddl/lib/libdtrace/Makefile,v 1.2.2.1 2009/08/03 08:13:06 kensmith Exp $
 
@@ -67,6 +67,10 @@
 
 #CFLAGS+=	-DYYDEBUG
 
+COPTS.dt_aggregate.c	+= -Wno-stack-protector
+COPTS.dt_consume.c	+= -Wno-stack-protector
+COPTS.dt_decl.c		+= -Wno-stack-protector
+
 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
 CFLAGS+=	-I${OPENSOLARIS_SYS_DISTDIR}/uts/intel
 .elif ${MACHINE_ARCH} == "sparc64"

Reply via email to