MFC r280357:

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

Reported by:	rodrigc
This commit is contained in:
Dimitry Andric 2015-04-06 14:45:40 +00:00
parent 9b03dcaca0
commit 3667fd7b33
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=281148

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"