freebsd-dev/bin/expr/Makefile
Dimitry Andric c969922258 Build expr with -fwrapv, since it relies on signed integer wrapping
having defined behavior.

Reported by:	rodrigc
MFC after:	3 days
2015-03-22 22:40:32 +00:00

19 lines
235 B
Makefile

# $FreeBSD$
.include <src.opts.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>