From c76e590d3d1fb1879aed4eda7ebc73226f3c4d42 Mon Sep 17 00:00:00 2001 From: tron Date: Mon, 22 Feb 2010 12:21:27 +0000 Subject: [PATCH] Disable stack protection warnings for "dtrace.c" which uses alloca(3). --- external/cddl/osnet/usr.sbin/dtrace/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/external/cddl/osnet/usr.sbin/dtrace/Makefile b/external/cddl/osnet/usr.sbin/dtrace/Makefile index d681bddf07f5..84f209f1efe4 100644 --- a/external/cddl/osnet/usr.sbin/dtrace/Makefile +++ b/external/cddl/osnet/usr.sbin/dtrace/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2010/02/21 11:00:02 darran Exp $ +# $NetBSD: Makefile,v 1.4 2010/02/22 12:21:27 tron Exp $ # $FreeBSD: src/cddl/usr.sbin/dtrace/Makefile,v 1.1.4.1 2009/08/03 08:13:06 kensmith Exp $ @@ -27,6 +27,7 @@ CFLAGS+= -I${OSNETDIR}/sys \ #CFLAGS+= -DNEED_ERRLOC #YFLAGS+= -d +COPTS.dtrace.c += -Wno-stack-protector LDFLAGS+= -pthread