diff options
author | Peter Powell <petpow@saberuk.com> | 2016-06-04 12:55:17 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2016-06-27 15:41:27 +0100 |
commit | 9401f1fbc35bdcf4f24be447b1bdf47d157464fa (patch) | |
tree | 70421277ddfea0681f49c156a5db5a64c0dd466f /make/template | |
parent | 61854caa5a7819b303c7b60e182b54c0a06b2fab (diff) |
GCC should never assume that this can not be null.
Diffstat (limited to 'make/template')
-rw-r--r-- | make/template/main.mk | 5 |
1 files changed, 5 insertions, 0 deletions
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 |