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

From: Michael Buch <michaelbuch12_AT_gmail.com>
Date: Tue, 24 Apr 2018 05:46:10 +0000

Fair, could run that instead :)

Thanks,

Michael

On Tue, 24 Apr 2018 at 03:07, Quentin Rameau <quinq_AT_fifth.space> wrote:

> > 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 - 07:46:10 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 24 2018 - 07:48:33 CEST