Disable stack protection warnings for "dtrace.c" which uses alloca(3).
This commit is contained in:
parent
e171441276
commit
c76e590d3d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue