Source-Changes-HG archive

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

[src/trunk]: src/lib/libcurses Fix SSP build



details:   https://anonhg.NetBSD.org/src/rev/364e1b25a1e7
branches:  trunk
changeset: 379920:364e1b25a1e7
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 27 16:24:52 2021 +0000

description:
Fix SSP build

diffstat:

 lib/libcurses/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d0f5775f5d8e -r 364e1b25a1e7 lib/libcurses/Makefile
--- a/lib/libcurses/Makefile    Sun Jun 27 13:59:29 2021 +0000
+++ b/lib/libcurses/Makefile    Sun Jun 27 16:24:52 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.94 2020/03/23 13:37:36 roy Exp $
+#      $NetBSD: Makefile,v 1.95 2021/06/27 16:24:52 christos Exp $
 #      @(#)Makefile    8.2 (Berkeley) 1/2/94
 
 .include <bsd.own.mk>
@@ -9,6 +9,9 @@ CPPFLAGS+=-I${.CURDIR} -I${NETBSDSRCDIR}
 .if defined(DEBUG_CURSES)
 CPPFLAGS+=-g -DDEBUG
 .endif
+
+COPTS.slk.c += -Wno-stack-protector
+
 .if defined(SMALL)
 CPPFLAGS+=-DSMALL
 .endif



Home | Main Index | Thread Index | Old Index