From 3d553f9ca746b630f8f2fa8b5b42179da4603e99 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 24 Feb 2010 15:40:54 +0000 Subject: [PATCH] Disable stack protection warnings for more sources which use dynamically sized stack buffers. --- external/cddl/osnet/lib/libdtrace/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/external/cddl/osnet/lib/libdtrace/Makefile b/external/cddl/osnet/lib/libdtrace/Makefile index 367fd7b717ba..cd5cd339db4d 100644 --- a/external/cddl/osnet/lib/libdtrace/Makefile +++ b/external/cddl/osnet/lib/libdtrace/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2010/02/24 12:51:05 tron Exp $ +# $NetBSD: Makefile,v 1.4 2010/02/24 15:40:54 tron Exp $ # $FreeBSD: src/cddl/lib/libdtrace/Makefile,v 1.2.2.1 2009/08/03 08:13:06 kensmith Exp $ @@ -70,6 +70,17 @@ CFLAGS+= -I${.OBJDIR} \ COPTS.dt_aggregate.c += -Wno-stack-protector COPTS.dt_consume.c += -Wno-stack-protector COPTS.dt_decl.c += -Wno-stack-protector +COPTS.dt_dof.c += -Wno-stack-protector +COPTS.dt_handle.c += -Wno-stack-protector +COPTS.dt_ident.c += -Wno-stack-protector +COPTS.dt_link.c += -Wno-stack-protector +COPTS.dt_options.c += -Wno-stack-protector +COPTS.dt_parser.c += -Wno-stack-protector +COPTS.dt_pragma.c += -Wno-stack-protector +COPTS.dt_printf.c += -Wno-stack-protector +COPTS.dt_program.c += -Wno-stack-protector +COPTS.dt_provider.c += -Wno-stack-protector +COPTS.dt_subr.c += -Wno-stack-protector .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" CFLAGS+= -I${OPENSOLARIS_SYS_DISTDIR}/uts/intel