From owner-cvs-all Tue Jun 27 0:10:58 2000 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 9F35737BDE0; Tue, 27 Jun 2000 00:10:48 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.9.3/1.13) id KAA46072; Tue, 27 Jun 2000 10:10:37 +0300 (EEST) Date: Tue, 27 Jun 2000 10:10:37 +0300 From: Ruslan Ermilov To: Warner Losh Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/defaults make.conf Message-ID: <20000627101037.C45457@sunbay.com> References: <20000627095306.B45457@sunbay.com> <200006262143.OAA16390@freefall.freebsd.org> <200006262231.QAA28294@harmony.village.org> <20000627095306.B45457@sunbay.com> <200006270654.AAA32587@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200006270654.AAA32587@harmony.village.org>; from imp@village.org on Tue, Jun 27, 2000 at 12:54:37AM -0600 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 27, 2000 at 12:54:37AM -0600, Warner Losh wrote: > In message <20000627095306.B45457@sunbay.com> Ruslan Ermilov writes: > : But you can (often) say > : make DEBUG_FLAGS=${BDECFLAGS} > > Does this work from a shell? usually I get debug_flags equal to "" > when I do this. > It is easy: : $ echo $BDECFLAGS : : $ grep BDECFLAGS /etc/make.conf : # BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested : # putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf. : BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ : $ cat ./Makefile : all: : @echo ${DEBUG_FLAGS} : $ make DEBUG_FLAGS='${BDECFLAGS}' : -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wconversion -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message