Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2010 11:46:09 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Setting Debug flag in /etc/make.conf
Message-ID:  <201008021646.o72Gk9Nk001750@mail.r-bonomi.com>

next in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org  Sun Aug  1 06:28:18 2010
> Date: Sun, 1 Aug 2010 07:28:24 -0400
> From: Jerry <freebsd.user@seibercom.net>
> To: freebsd-questions@freebsd.org
> Subject: Setting Debug flag in /etc/make.conf
>
> I have been having problems with several different programs lately.
> Would there be any serious drawback to simply setting: "WITH_DEBUG= "
> in the /etc/make.conf file to force everything I build/rebuild to be
> built with debug symbols? I am assuming that I can simply place that
> flag in the make.conf file. Do I have to also give it a value; i.e "=1"
> or "=yes" also?
>

What's wrong with the traditional way of doing this -- i.e.,  setting the 
environment variable CFLAGS to  -g   befoe your start make-inthings?





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