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

This is temporary build fix.

Approved by <roy>
This commit is contained in:
kamil 2017-03-31 23:50:01 +00:00
parent ef8d65be9d
commit 8132d7fdb6
1 changed files with 2 additions and 1 deletions

View File

@ -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 WARNS?= 6
@ -29,6 +29,7 @@ SRCS+= auth.c hmac_md5.c
.if (${USE_INET} != "no") .if (${USE_INET} != "no")
CPPFLAGS+= -DARP -DINET CPPFLAGS+= -DARP -DINET
SRCS+= arp.c bpf.c dhcp.c ipv4.c SRCS+= arp.c bpf.c dhcp.c ipv4.c
COPTS.bpf.c+= -Wno-stack-protector
.if !defined(SMALLPROG) .if !defined(SMALLPROG)
CPPFLAGS+= -DIPV4LL CPPFLAGS+= -DIPV4LL
SRCS+= ipv4ll.c SRCS+= ipv4ll.c