Subject: Re: speed
To: Matt Herzog <mherzog@attbi.com>
From: Johnny C. Lam <jlam@netbsd.org>
List: netbsd-help
Date: 06/09/2002 11:36:19
On Sun, Jun 09, 2002 at 12:57:49PM -0400, Matt Herzog wrote:
> I'm wondering what would be the best way to speed up pkg builds on older
> machines like what I have. Cyber on #netbsd mentioned an option: "CFLAGS +=
> -pipe" and said it might be added to mk.conf. But some pkgs do not use mk.conf
> so I was thinking maybe /usr/pkgsrc/mk/bsd.pkg.mk might be a better place
> for it. Or perhaps /usr/pkgsrc/mk/bsd.prefs.mk? I just want to give the
> "make install" and all its children a higher priority than 0. Would -5 be
> dangerous?

If you add CFLAGS+=-pipe to /etc/mk.conf, then it will be picked up and
forwarded to the build process by bsd.pkg.mk.

	Cheers,

	-- Johnny Lam <jlam@netbsd.org>