Module Name: src
Committed By: mrg
Date: Wed Mar 23 08:39:01 UTC 2016
Modified Files:
src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile
Log Message:
use -Wno-error=sign-conversion for now. Roy, when you get to GCC 5
you might have a look at this :-)
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 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.28 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.29
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.28 Thu Jan 7 22:07:18 2016
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile Wed Mar 23 08:39:01 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2016/01/07 22:07:18 roy Exp $
+# $NetBSD: Makefile,v 1.29 2016/03/23 08:39:01 mrg Exp $
#
PROG= dhcpcd
@@ -72,4 +72,9 @@ ${f}: ${f}.in
${DIST}/${f}.in > $@
.endfor
+# XXXGCC5
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && ${ACTIVE_CC} == "gcc"
+COPTS.if-bsd.c+= -Wno-error=sign-conversion
+.endif
+
.include <bsd.prog.mk>