MFC r280357:

Build expr with -fwrapv, since it relies on signed integer wrapping
having defined behavior.

Reported by:	rodrigc
This commit is contained in:
dim 2015-04-06 14:45:40 +00:00
parent 9d4a2c89e4
commit cb046ee5e6

View File

@ -6,6 +6,9 @@ PROG= expr
SRCS= expr.y
YFLAGS=
# expr relies on signed integer wrapping
CFLAGS+= -fwrapv
NO_WMISSING_VARIABLE_DECLARATIONS=
.if ${MK_TESTS} != "no"