Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/lib/libdtrace Disable stack protection w...
details: https://anonhg.NetBSD.org/src/rev/69b31e89dc15
branches: trunk
changeset: 752361:69b31e89dc15
user: tron <tron%NetBSD.org@localhost>
date: Wed Feb 24 12:51:05 2010 +0000
description:
Disable stack protection warnings for sources which use dynamically
sized stack buffers.
diffstat:
external/cddl/osnet/lib/libdtrace/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 6fdd79636ea7 -r 69b31e89dc15 external/cddl/osnet/lib/libdtrace/Makefile
--- a/external/cddl/osnet/lib/libdtrace/Makefile Wed Feb 24 12:29:47 2010 +0000
+++ b/external/cddl/osnet/lib/libdtrace/Makefile Wed Feb 24 12:51:05 2010 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index