diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-06-27 16:55:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-27 16:55:40 +0200 |
commit | 1a10d61b3de3020ddf15b02b87dc6905ef5037c6 (patch) | |
tree | 137bd24e1149b929f491750dfcf694e47d6d7d13 /make | |
parent | 86c3fde2fedfe9270eeaa1a93c0ea15d6fb9962d (diff) | |
parent | 9401f1fbc35bdcf4f24be447b1bdf47d157464fa (diff) |
Merge pull request #1181 from SaberUK/insp20+null
[2.0] GCC should never assume that this can not be null.
Diffstat (limited to 'make')
-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 |