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 external/bsd/dhcpcd: Suppres...
details: https://anonhg.NetBSD.org/src/rev/ce6f64b9b8ee
branches: trunk
changeset: 932233:ce6f64b9b8ee
user: fox <fox%NetBSD.org@localhost>
date: Sat May 02 19:35:03 2020 +0000
description:
external/bsd/dhcpcd: Suppress -Werror=sign-conversion error.
Add -Wno-error=sign-conversion to prevent build failure, when run with MKLIBCSANITIZER=yes.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
diffstat:
external/bsd/dhcpcd/sbin/dhcpcd/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 1575e714c627 -r ce6f64b9b8ee external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Sat May 02 19:09:56 2020 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Sat May 02 19:35:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2020/04/02 12:56:01 roy Exp $
+# $NetBSD: Makefile,v 1.52 2020/05/02 19:35:03 fox Exp $
#
WARNS?= 6
@@ -32,6 +32,13 @@
CPPFLAGS+= -DINET
SRCS+= bpf.c dhcp.c ipv4.c
SRCS+= privsep-bpf.c
+
+.if (${MKLIBCSANITIZER:Uno} == "yes")
+.if (${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8)
+COPTS.dhcp.c+= -Wno-error=sign-conversion
+.endif
+.endif
+
.if !defined(SMALLPROG)
CPPFLAGS+= -DARP
SRCS+= arp.c
Home |
Main Index |
Thread Index |
Old Index