Subject: Re: -g for a package
To: James K. Lowden <jklowden@schemamania.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: netbsd-help
Date: 05/20/2002 06:27:28
On May 19, 2002 10:13 pm, James K. Lowden wrote:
> Hello,
>
> What's the Right Way to tell the compiler to emit debugging symbols for a
> given package?
>
> I sometimes hack through the Makefile or libtool or whatever looking for
> CFLAGS and CPPFLAGS, but there must be an easy way, isn't there?

Add the following to your /etc/mk.conf.

CFLAGS += -g

-- 
D'Arcy J.M. Cain <darcy@netbsd.org>
http://www.NetBSD.org/