Message ID | 20171004132605.24734-3-uwe@kleine-koenig.org (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
On Wed, Oct 4, 2017 at 6:26 AM, Uwe Kleine-König <uwe@kleine-koenig.org> wrote: > > # Allow users to override build settings without dirtying their trees > +# For debugging, put this in local.mk: > +# > +# CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2 > +# > -include local.mk This and the first patch is fine. Subject to impact of the debug-target-v3 branch. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Makefile b/Makefile index e011df3cc0dc..ddb4c5e3de02 100644 --- a/Makefile +++ b/Makefile @@ -22,11 +22,6 @@ CHECKER = ./cgcc -no-compile CHECKER_FLAGS = ALL_CFLAGS = $(CFLAGS) $(BASIC_CFLAGS) -# -# For debugging, put this in local.mk: -# -# CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2 -# HAVE_LIBXML:=$(shell $(PKG_CONFIG) --exists libxml-2.0 2>/dev/null && echo 'yes') HAVE_GCC_DEP:=$(shell touch .gcc-test.c && \ @@ -167,6 +162,10 @@ SED_PC_CMD = 's|@version@|$(VERSION)|g; \ # Allow users to override build settings without dirtying their trees +# For debugging, put this in local.mk: +# +# CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2 +# -include local.mk
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)