Index: stable/10/bin/expr/Makefile =================================================================== --- stable/10/bin/expr/Makefile (revision 281147) +++ stable/10/bin/expr/Makefile (revision 281148) @@ -1,15 +1,18 @@ # $FreeBSD$ .include 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 Index: stable/10 =================================================================== --- stable/10 (revision 281147) +++ stable/10 (revision 281148) Property changes on: stable/10 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r280357 Index: stable/9/bin/expr/Makefile =================================================================== --- stable/9/bin/expr/Makefile (revision 281147) +++ stable/9/bin/expr/Makefile (revision 281148) @@ -1,7 +1,10 @@ # $FreeBSD$ PROG= expr SRCS= expr.y YFLAGS= +# expr relies on signed integer wrapping +CFLAGS+= -fwrapv + .include Index: stable/9/bin/expr =================================================================== --- stable/9/bin/expr (revision 281147) +++ stable/9/bin/expr (revision 281148) Property changes on: stable/9/bin/expr ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head/bin/expr:r280357 Index: stable/9/bin =================================================================== --- stable/9/bin (revision 281147) +++ stable/9/bin (revision 281148) Property changes on: stable/9/bin ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head/bin:r280357 Index: stable/9 =================================================================== --- stable/9 (revision 281147) +++ stable/9 (revision 281148) Property changes on: stable/9 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r280357