for GCC 5.3 pass -fwrapv as this relies upon well-defined integer overflow.
This commit is contained in:
parent
103bd8df24
commit
6d27b0e86e
@ -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 <bsd.prog.mk>
|
||||
|
||||
# XXXGCC5
|
||||
.if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && ${ACTIVE_CC} == "gcc"
|
||||
CFLAGS+= -fwrapv
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user