From owner-freebsd-current Mon Jan 4 09:30:39 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08665 for freebsd-current-outgoing; Mon, 4 Jan 1999 09:30:39 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA08660 for ; Mon, 4 Jan 1999 09:30:38 -0800 (PST) (envelope-from ssiyer@cs.rice.edu) Received: (from ssiyer@localhost) by cs.rice.edu (8.9.0/8.9.0) id LAA06566; Mon, 4 Jan 1999 11:29:35 -0600 (CST) Message-ID: <19990104112935.A6256@cs.rice.edu> Date: Mon, 4 Jan 1999 11:29:35 -0600 From: Sitaram Iyer To: Bruce Evans , luigi@labinfo.iet.unipi.it, mike@smith.net.au Cc: current@FreeBSD.ORG Subject: Re: -DKERNEL option when compiling kernels ? Reply-To: Sitaram Iyer References: <199901011115.WAA22595@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199901011115.WAA22595@godzilla.zeta.org.au>; from Bruce Evans on Fri, Jan 01, 1999 at 10:15:09PM +1100 X-url: http://www.cs.rice.edu/~ssiyer/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus, Bruce Evans wrote... > >well it is just a very minor thing, anyways. Now if there was a > >way to put all compile options somewhere so that the make output > >does not show three lines for each file... > >cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs > >-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > >-Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -nostdinc -I- > >-I. -I../.. -I../../../include -DKERNEL -include opt_global.h -aout vers.c > If you can solve that, then -DKERNEL is worth hiding too. how about something trivial like cc -c -O `cat .CFLAGS` ... -- Sitaram Iyer http://www.cs.rice.edu/~ssiyer/ Phone: Office: (713) 527-8750 x3291 (direct dial), Res: (713) 630-9260 Fresh graduate student in the Computer Science dept at Rice University To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message