Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/tmux/usr.bin/tmux Disable SSP warnings for a fe...



details:   https://anonhg.NetBSD.org/src/rev/a33a75f5cad5
branches:  trunk
changeset: 763193:a33a75f5cad5
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Mar 12 14:19:25 2011 +0000

description:
Disable SSP warnings for a few files to make this build with "USE_SSP=yes".

diffstat:

 external/bsd/tmux/usr.bin/tmux/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 199520dd7554 -r a33a75f5cad5 external/bsd/tmux/usr.bin/tmux/Makefile
--- a/external/bsd/tmux/usr.bin/tmux/Makefile   Sat Mar 12 14:03:38 2011 +0000
+++ b/external/bsd/tmux/usr.bin/tmux/Makefile   Sat Mar 12 14:19:25 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/03/12 03:02:59 christos Exp $
+# $NetBSD: Makefile,v 1.3 2011/03/12 14:19:25 tron Exp $
 
 .include <bsd.own.mk>
 WARNS?=        4
@@ -155,6 +155,12 @@
 CPPFLAGS+=     -DBUILD="\"$(VERSION)\""
 CPPFLAGS+=     -I${SRCDIR} -I${.CURDIR}
 
+COPTS.cmd-paste-buffer.c+=     -Wno-stack-protector
+COPTS.cmd-server-info.c+=      -Wno-stack-protector
+COPTS.imsg-buffer.c+=          -Wno-stack-protector
+COPTS.imsg.c+=                 -Wno-stack-protector
+COPTS.screen.c+=               -Wno-stack-protector
+
 LDADD+=                -levent -lterminfo -lutil
 DPADD+=                ${LIBEVENT} ${LIBTERMINFO} ${LIBUTIL}
 



Home | Main Index | Thread Index | Old Index