make: Added -fno-strict-overflow to makefile
modified CFLAGS to avoid gcc optimising the signed integer overflow checks.
CRs-Fixed: 691916.
Change-Id: I9c01609eaa486351f79289e4df803b9281c65dff
diff --git a/makefile b/makefile
index 4c31db2..c093d3e 100644
--- a/makefile
+++ b/makefile
@@ -63,6 +63,7 @@
ifneq ($(shell uname -m | grep "arm.*"),)
CFLAGS += -fno-stack-protector
endif
+CFLAGS += -fno-strict-overflow
CPPFLAGS := -fno-exceptions -fno-rtti -fno-threadsafe-statics
#CPPFLAGS += -Weffc++
ASMFLAGS := -DASSEMBLY