Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 1999 11:29:35 -0600
From:      Sitaram Iyer <ssiyer@cs.rice.edu>
To:        Bruce Evans <bde@zeta.org.au>, luigi@labinfo.iet.unipi.it, mike@smith.net.au
Cc:        current@FreeBSD.ORG
Subject:   Re: -DKERNEL option when compiling kernels ?
Message-ID:  <19990104112935.A6256@cs.rice.edu>
In-Reply-To: <199901011115.WAA22595@godzilla.zeta.org.au>; from Bruce Evans on Fri, Jan 01, 1999 at 10:15:09PM %2B1100
References:  <199901011115.WAA22595@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ssiyer@cs.rice.edu> 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



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