On Tue, 8 Nov 2005 14:44:37 +0100
Lubomir Sedlacik <salo@Xtrmntr.org> wrote:
> On Tue, Nov 08, 2005 at 02:38:03PM +0100, Marcin Jessa wrote:
> > I could not find it in either man 0 mk.conf or man 5 mk.conf nor on
> > the Documentation website or /usr/pkgsrc/mk/defaults/mk.conf Sorry
> > but I would not call your referance - documentation.
> > Anyway, I could not find any explenation of how to use the CPUFLAGS
> > in either
> >
> > src/share/mk/bsd.README
>
> CPUFLAGS Additional flags to the compiler/assembler to select
> CPU instruction set options, CPU tuning options, etc.
>
> sounds quite clear to me, but maybe it's just me. you are welcome to
> submit documentation you find sufficient, of course.
>
> > I assume it should be something like: CPUFLAGS=pentium4
> > Is that correct?
>
> no, it's just another variable passed to make, so it must contain
> valid gcc flags, e.g. CPUFLAGS="-march=pentium4" or whatever is the
> correct flag for you.
And that's exactly what man mk.conf should say.
Thanks again.
I can privide a diff to man pages with this info if desirable.
Marcin.