Re: [hackers] [st] Proposed makefile tweak for debugging

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Tue, 24 Apr 2018 04:07:30 +0200

> Hey,

Hi,

> Any thoughts on adding following to the config.mk?:
>
> #·flags
> STCFLAGS = $(INCS) $(CPPFLAGS) $(CFLAGS)
> ifneq "$(ST_DEBUG)" ""
> STCFLAGS += -g -O0
> endif

No [0].

> I found myself often adding flags to the makefile locally in order for me
> to debug some of the patches im working on.

make CFLAGS='-O0 -g'

[0] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
Received on Tue Apr 24 2018 - 04:07:30 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 24 2018 - 04:12:30 CEST