diff --git a/Makefile.include b/Makefile.include index 6eaa239ff..01482ca9a 100644 --- a/Makefile.include +++ b/Makefile.include @@ -29,17 +29,6 @@ BB = $(shell echo $(BOARD)|tr 'a-z' 'A-Z') CPUDEF = $(shell echo $(CPU)|tr 'a-z' 'A-Z') CFLAGS += -DBOARD=$(BB) -DCPU_$(CPUDEF) -# Add `-fno-delete-null-pointer-checks` flag iff the compiler supports it. -# GCC removes moves tests whether `x == NULL`, if previously `x` or even `x->y` was accessed. -# 0x0 might be a sane memory location for embedded systems, so the test must not be removed. -# Right now clang does not use the *delete-null-pointer* optimization, and does not understand the parameter. -# Related issues: #628, #664. -ifeq ($(shell $(CC) -fno-delete-null-pointer-checks -E - 2>/dev/null >/dev/null &1 1>/dev/null y` was accessed. +# 0x0 might be a sane memory location for embedded systems, so the test must not be removed. +# Right now clang does not use the *delete-null-pointer* optimization, and does not understand the parameter. +# Related issues: #628, #664. +ifeq ($(shell $(CC) -fno-delete-null-pointer-checks -E - 2>/dev/null >/dev/null &1 1>/dev/null