Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/dhcpcd/sbin/dhcpcd Disable stack-protector for ...



details:   https://anonhg.NetBSD.org/src/rev/376056c5ab7c
branches:  trunk
changeset: 352437:376056c5ab7c
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Mar 31 23:50:01 2017 +0000

description:
Disable stack-protector for bpf.c (sbin/dhcpcd)

This is temporary build fix.

Approved by <roy>

diffstat:

 external/bsd/dhcpcd/sbin/dhcpcd/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 6464a73ce600 -r 376056c5ab7c external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Fri Mar 31 23:00:21 2017 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Fri Mar 31 23:50:01 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2017/03/31 21:02:09 roy Exp $
+# $NetBSD: Makefile,v 1.36 2017/03/31 23:50:01 kamil Exp $
 #
 
 WARNS?=                6
@@ -29,6 +29,7 @@
 .if (${USE_INET} != "no")
 CPPFLAGS+=     -DARP -DINET
 SRCS+=         arp.c bpf.c dhcp.c ipv4.c
+COPTS.bpf.c+=  -Wno-stack-protector
 .if !defined(SMALLPROG)
 CPPFLAGS+=     -DIPV4LL
 SRCS+=         ipv4ll.c



Home | Main Index | Thread Index | Old Index