Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2000 10:10:37 +0300
From:      Ruslan Ermilov <ru@sunbay.com>
To:        Warner Losh <imp@village.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/defaults make.conf
Message-ID:  <20000627101037.C45457@sunbay.com>
In-Reply-To: <200006270654.AAA32587@harmony.village.org>; from imp@village.org on Tue, Jun 27, 2000 at 12:54:37AM -0600
References:  <20000627095306.B45457@sunbay.com> <200006262143.OAA16390@freefall.freebsd.org> <200006262231.QAA28294@harmony.village.org> <20000627095306.B45457@sunbay.com> <200006270654.AAA32587@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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