diff options
author | dim <dim@FreeBSD.org> | 2015-04-06 14:45:40 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2015-04-06 14:45:40 +0000 |
commit | cb046ee5e62b1d6818448870f48d1097b1e74e81 (patch) | |
tree | a4ac7bf40d6d5e2c258c43b220329ae93a7dee39 | |
parent | 9d4a2c89e4089c9997ed06e1c36060810bc4f922 (diff) | |
download | FreeBSD-src-cb046ee5e62b1d6818448870f48d1097b1e74e81.zip FreeBSD-src-cb046ee5e62b1d6818448870f48d1097b1e74e81.tar.gz |
MFC r280357:
Build expr with -fwrapv, since it relies on signed integer wrapping
having defined behavior.
Reported by: rodrigc
-rw-r--r-- | bin/expr/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/expr/Makefile b/bin/expr/Makefile index 23f768b..0749802 100644 --- a/bin/expr/Makefile +++ b/bin/expr/Makefile @@ -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" |