freebsd-skq/bin/expr/Makefile
dim cb046ee5e6 MFC r280357:
Build expr with -fwrapv, since it relies on signed integer wrapping
having defined behavior.

Reported by:	rodrigc
2015-04-06 14:45:40 +00:00

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>