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 dhcpcd now builds without th...



details:   https://anonhg.NetBSD.org/src/rev/4ba4e75c4f1c
branches:  trunk
changeset: 448717:4ba4e75c4f1c
user:      roy <roy%NetBSD.org@localhost>
date:      Thu Feb 07 21:38:53 2019 +0000

description:
dhcpcd now builds without these warnings disabled.

diffstat:

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

diffs (25 lines):

diff -r 3070cc536851 -r 4ba4e75c4f1c external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Thu Feb 07 21:37:36 2019 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Thu Feb 07 21:38:53 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2019/02/04 04:05:15 mrg Exp $
+# $NetBSD: Makefile,v 1.45 2019/02/07 21:38:53 roy Exp $
 #
 
 WARNS?=                6
@@ -74,15 +74,4 @@
        ${TOOL_SED} ${SED_SYS} ${DIST}/src/${f}.in > $@
 .endfor
 
-.if defined(HAVE_GCC) && ${ACTIVE_CC} == "gcc"
-. if ${HAVE_GCC} >= 6
-COPTS.if-bsd.c+=       -Wno-error=sign-conversion
-. endif
-. if ${HAVE_GCC} >= 7
-COPTS.dhcp6.c+=                -Wno-error=implicit-fallthrough
-COPTS.if-options.c+=   -Wno-error=implicit-fallthrough
-COPTS.if.c+=           -Wno-error=implicit-fallthrough
-. endif
-.endif
-
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index