cb046ee5e6
Build expr with -fwrapv, since it relies on signed integer wrapping having defined behavior. Reported by: rodrigc
19 lines
234 B
Makefile
19 lines
234 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= expr
|
|
SRCS= expr.y
|
|
YFLAGS=
|
|
|
|
# expr relies on signed integer wrapping
|
|
CFLAGS+= -fwrapv
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|