Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2008 22:51:07 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Doug Poland <doug@polands.org>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: make.conf questions for 6.x  / 7.x
Message-ID:  <20080508205107.GA37756@alchemy.franken.de>
In-Reply-To: <37297.208.49.58.254.1210250986.squirrel@email.polands.org>
References:  <37297.208.49.58.254.1210250986.squirrel@email.polands.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 08, 2008 at 07:49:46AM -0500, Doug Poland wrote:
> Hello,
> 
> I've been a FreeBSD i386 user since the 2.1.1 days.  One thing that
> has hung around with me (on i386) since then is my /etc/make.conf
> file.  In it I have:
> 
> CFLAGS= -O -pipe
> COPTFLAGS= -O -pipe

The automatically chosen default for CFLAGS would be '-O2 -pipe'
(optionnaly additionally '-fno-strict-aliasing' depending on
FreeBSD version) these days and there should be no reason to
artifically limit optimizations to just '-O'.

> NO_PROFILE= true

This makes sense if you don't want to spend diskspace and CPU
cycles compiling profiled versions of libraries if you have no
use for them. Especially since FreeBSD/sparc64 doesn't support
userland profiling before 7.0.

With FreeBSD 7.0 and later this translates to WITHOUT_PROFILE=
(yup, no value) in /etc/src.conf.

> USA_RESIDENT= YES

I think in former versions this enabled compilation of some
crypto code which was export restricted. FreeBSD 6 and later
no longer check it.

> 
> Now that I have several Sun Netra X1 (UltraSPARC-IIe 440MHz) boxes
> running 6.2-RELEASE (Generic), I was wondering if these options make
> sense on this architecture.
> 
> Thanks for your comments and suggestions.
> 

Marius




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080508205107.GA37756>