diff --git a/Makefile b/Makefile index 39bd3ad..082fc73 100644 --- a/Makefile +++ b/Makefile @@ -96,6 +96,7 @@ else endif endif STRIP=$(CROSS_PREFIX)strip +CFLAGS+=-fwrapv # ensure that signed overflows behave as expected ifdef CONFIG_WERROR CFLAGS+=-Werror endif