Subject: Re: Software compiling
To: None <paolo.torelli@students.univr.it>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: port-i386
Date: 08/24/2001 12:07:52
>
>
> Hi.
> Q:
> I'd like to compile the kernel and the packages optimized for my
> architecture (i686) avoiding the backward compatibility (i386-i586).
>
> Which files/settings do I have to modify to achieve that?
it's my /etc/mk.conf

1'st 4 lines should do.

CC= cc -march=pentiumpro -pipe -O2
CXX= c++ -march=pentiumpro -pipe -O2
COPTS= -march=pentiumpro -O2 -pipe
DBG= -march=pentiumpro -O2 -pipe
WRKOBJDIR=/tmp/pkg/
LDSTATIC=
ACCEPTABLE_LICENSES+=fee-based-commercial-use
ACCEPTABLE_LICENSES+=shareware
ACCEPTABLE_LICENSES+=no-profit
ACCEPTABLE_LICENSES+=no-commercial-use
ACCEPTABLE_LICENSES+=kermit-license
ACCEPTABLE_LICENSES+=sun-jsdk20-license
ACCEPTABLE_LICENSES+=sun-swing-license
ACCEPTABLE_LICENSES+=csound-license
ACCEPTABLE_LICENSES+=opera-license
ACCEPTABLE_LICENSES+=adobe-acrobat-license
FETCH_CMD=/usr/pkg/bin/wget -c -t0