Module Name: src
Committed By: roy
Date: Thu Feb 7 21:38:53 UTC 2019
Modified Files:
src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile
Log Message:
dhcpcd now builds without these warnings disabled.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.44 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.45
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.44 Mon Feb 4 04:05:15 2019
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Thu Feb 7 21:38:53 2019
@@ -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 @@ ${f}: ${f}.in
${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>