Subject: Re: mk.conf ignored by kernel build?
To: None <current-users@netbsd.org>
From: MINOURA Makoto <minoura@netbsd.org>
List: current-users
Date: 02/08/1999 01:17:52
|> In <199902050557.GAA02772@rumolt.teuto.de>
|> Martin = Martin Husemann <martin@rumolt.teuto.de> wrote:

Martin> Since a very long time ago I have this in my /etc/mk.conf:
Martin> .if ! ${CFLAGS:M-pipe}
Martin> CFLAGS += -pipe
Martin> .endif
Martin> My machine has loads of memory but no local disk - so this speeds
Martin> up compiles quite a bit. When doing make in, say, /usr/src/bin/ls
Martin> everything is fine. When compiling a kernel, no -pipe is used.

I'm rather wondering why -pipe is not used by default.
Does this lead to something bad on some architectures?
Even on my 12MB-memory NetBSD/x68k, -pipe decreases the
compilation time.

-- 
Minoura Makoto <minoura@netbsd.org> or <minoura@kw.netlaputa.ne.jp>