Fri Apr 1 08:19:32 2016 UTC ()
for GCC 5.3 pass -fwrapv as this relies upon well-defined integer overflow.


(mrg)
diff -r1.14 -r1.15 src/bin/expr/Makefile

cvs diff -r1.14 -r1.15 src/bin/expr/Makefile (expand / switch to unified diff)

--- src/bin/expr/Makefile 2000/09/19 17:20:00 1.14
+++ src/bin/expr/Makefile 2016/04/01 08:19:31 1.15
@@ -1,6 +1,12 @@ @@ -1,6 +1,12 @@
1# $NetBSD: Makefile,v 1.14 2000/09/19 17:20:00 jdolecek Exp $ 1# $NetBSD: Makefile,v 1.15 2016/04/01 08:19:31 mrg Exp $
2 2
3PROG= expr 3PROG= expr
4SRCS= expr.y 4SRCS= expr.y
5 5
6.include <bsd.prog.mk> 6.include <bsd.prog.mk>
 7
 8# XXXGCC5
 9.if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && ${ACTIVE_CC} == "gcc"
 10CFLAGS+= -fwrapv
 11.endif
 12