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 use -Wno-error=sign-conversi...



details:   https://anonhg.NetBSD.org/src/rev/5ddaecf4607c
branches:  trunk
changeset: 344339:5ddaecf4607c
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Mar 23 08:39:01 2016 +0000

description:
use -Wno-error=sign-conversion for now.  Roy, when you get to GCC 5
you might have a look at this :-)

diffstat:

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

diffs (19 lines):

diff -r 899a00874dca -r 5ddaecf4607c external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Wed Mar 23 07:34:37 2016 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Wed Mar 23 08:39:01 2016 +0000
@@ -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 @@
            ${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>



Home | Main Index | Thread Index | Old Index