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 a few stack protector...



details:   https://anonhg.NetBSD.org/src/rev/841bd184e92b
branches:  trunk
changeset: 768536:841bd184e92b
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Thu Aug 18 19:05:54 2011 +0000

description:
Disable a few stack protector warnings to fix the build with USE_SSP.

This actually recovers something that was in the Makefile before but that
I removed during the update thinking they were not needed any more.  (I had
assumed ssp was the default.)

Build problem reported by bch at methodlogic.net in current-users.

diffstat:

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

diffs (20 lines):

diff -r 97ea662ca979 -r 841bd184e92b external/bsd/tmux/usr.bin/tmux/Makefile
--- a/external/bsd/tmux/usr.bin/tmux/Makefile   Thu Aug 18 17:02:49 2011 +0000
+++ b/external/bsd/tmux/usr.bin/tmux/Makefile   Thu Aug 18 19:05:54 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/08/17 19:28:36 jmmv Exp $
+# $NetBSD: Makefile,v 1.7 2011/08/18 19:05:54 jmmv Exp $
 
 .include <bsd.own.mk>
 
@@ -11,6 +11,10 @@
 MAN=           tmux.1
 
 WARNS?=        4
+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
 
 SRCS=          arguments.c
 SRCS+=         attributes.c



Home | Main Index | Thread Index | Old Index