diff --git a/bin/expr/Makefile b/bin/expr/Makefile index 7c7612fcabf5..8f00fdf5ee4d 100644 --- a/bin/expr/Makefile +++ b/bin/expr/Makefile @@ -1,6 +1,12 @@ -# $NetBSD: Makefile,v 1.14 2000/09/19 17:20:00 jdolecek Exp $ +# $NetBSD: Makefile,v 1.15 2016/04/01 08:19:31 mrg Exp $ PROG= expr SRCS= expr.y .include + +# XXXGCC5 +.if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && ${ACTIVE_CC} == "gcc" +CFLAGS+= -fwrapv +.endif +