Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2008 12:57:33 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Gabor PALI <pgj@FreeBSD.org>
Cc:        doc-committers@FreeBSD.org, Giorgos Keramidas <keramida@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-doc@FreeBSD.org
Subject:   Re: cvs commit: doc/en_US.ISO8859-1/books/faq book.sgml
Message-ID:  <20080705125536.D97379@woozle.rinet.ru>
In-Reply-To: <486F1EEE.3050202@FreeBSD.org>
References:  <200807050224.m652OWW9021964@repoman.freebsd.org> <878wwhvvor.fsf@kobe.laptop> <486F1EEE.3050202@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Jul 2008, Gabor PALI wrote:

GP> > cd /usr/src/usr.sbin/ppp env DEBUG_FLAGS='-g' make clean env
GP> > DEBUG_FLAGS='-g' make install
GP> 
GP> 
GP> However, I think CFLAGS still can be used for inclusion of debug
GP> symbols, although your env(1) based solution is a good (and very
GP> elegant!) idea for ones who do not want to modify their /etc/make.conf
GP> every time.

Yep, make <target> DEBUG_FLAGS=... is very useful. IF you want to test some 
binary, you can add `DEBUG_FLAGS?=whatever' line to Makefile withouth much 
trouble to other parts of system.


Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080705125536.D97379>