From 9401f1fbc35bdcf4f24be447b1bdf47d157464fa Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 4 Jun 2016 12:55:17 +0100 Subject: GCC should never assume that this can not be null. --- make/template/main.mk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'make') diff --git a/make/template/main.mk b/make/template/main.mk index c46d60502..23daa7efc 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -89,6 +89,11 @@ INSTMODE_LIB = 0644 D=0 @ENDIF +GCC6=@GCC6@ +@IFEQ $(GCC6) true + CXXFLAGS += -fno-delete-null-pointer-checks +@ENDIF + DBGOK=0 @IFEQ $(D) 0 CXXFLAGS += -O2 -- cgit v1.2.3