use -Wno-error=sign-conversion for now. Roy, when you get to GCC 5

you might have a look at this :-)
This commit is contained in:
mrg 2016-03-23 08:39:01 +00:00
parent 8258e9ec7a
commit a204afdc5c

View File

@ -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>