Build expr with -fwrapv, since it relies on signed integer wrapping
having defined behavior. Reported by: rodrigc MFC after: 3 days
This commit is contained in:
parent
7bc5de3287
commit
1aff4e708b
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user