Date: Mon, 6 Apr 2015 14:45:41 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r281148 - in stable: 10/bin/expr 9/bin/expr Message-ID: <201504061445.t36Ejf9B072218@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Mon Apr 6 14:45:40 2015 New Revision: 281148 URL: https://svnweb.freebsd.org/changeset/base/281148 Log: MFC r280357: Build expr with -fwrapv, since it relies on signed integer wrapping having defined behavior. Reported by: rodrigc Modified: stable/9/bin/expr/Makefile Directory Properties: stable/9/ (props changed) stable/9/bin/ (props changed) stable/9/bin/expr/ (props changed) Changes in other areas also in this revision: Modified: stable/10/bin/expr/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/9/bin/expr/Makefile ============================================================================== --- stable/9/bin/expr/Makefile Mon Apr 6 13:55:33 2015 (r281147) +++ stable/9/bin/expr/Makefile Mon Apr 6 14:45:40 2015 (r281148) @@ -4,4 +4,7 @@ PROG= expr SRCS= expr.y YFLAGS= +# expr relies on signed integer wrapping +CFLAGS+= -fwrapv + .include <bsd.prog.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504061445.t36Ejf9B072218>