Subject: Re: -pipe significantly boosts up kernel compile speed
To: Martin Husemann <>
From: enami tsugutomo <>
List: current-users
Date: 07/05/2002 23:51:28
> Date: Fri, 5 Jul 2002 12:22:34 +0200
> From: Martin Husemann <>
> Btw: someone suggested using /etc/mk.conf for this, but I think this does not
> work for the kernel. So while there we could add a commented out version of
> this into our default /etc/mk.conf, to show the user how to enable it for
> normal builds too.
> .if ${CFLAGS:N-pipe}
> CFLAGS += -pipe
> .endif

I actually have

CFLAS+= -pipe
CXXFLAS+= -pipe
HOST_CFLAS+= -pipe

in /etc/mk.conf on my some machines and at least kernel build (make
depend && make or make MKPROFILE=yes depend && make MKPROFILE=yes) or
csh -c 'time ./' works without any problems for more than few