From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 16:46:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F07C31065676 for ; Mon, 2 Aug 2010 16:46:48 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id AC3158FC1A for ; Mon, 2 Aug 2010 16:46:48 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o72Gk9Nk001750 for freebsd-questions@freebsd.org; Mon, 2 Aug 2010 11:46:09 -0500 (CDT) Date: Mon, 2 Aug 2010 11:46:09 -0500 (CDT) From: Robert Bonomi Message-ID: <201008021646.o72Gk9Nk001750@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: Setting Debug flag in /etc/make.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2010 16:46:49 -0000 > From owner-freebsd-questions@freebsd.org Sun Aug 1 06:28:18 2010 > Date: Sun, 1 Aug 2010 07:28:24 -0400 > From: Jerry > 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?