Gentoo Archives: gentoo-dev

From: Donnie Berkholz <spyderous@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Default -O CFLAG in make.conf
Date: Sun, 25 Jan 2004 19:43:51
Message-Id: 1075059827.7544.2.camel@localhost
In Reply to: [gentoo-dev] Default -O CFLAG in make.conf by Tom Martin
1 On Sun, 2004-01-25 at 07:18, Tom Martin wrote:
2 > As a default for x86, wouldn't -O2 be more suitable? My personal
3 > viewpoint is that if you want to set -O3 on x86, go ahead. But if you
4 > do, you should know why you want to do it, and what affects it will
5 > have. Many beginners who haven't really got their heads around CFLAGS
6 > will possibly read somewhere that -O3 gives the most optimisation and be
7 > sold there and then.
8
9 Hi,
10 -O2 _is_ the default. The commented examples in make.conf are just that
11 -- examples.
12
13 Try leaving the make.conf as it was when distributed (with CFLAGS and
14 CXXFLAGS commented out), then run `emerge info | grep CFLAGS`.
15
16 Donnie

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Default -O CFLAG in make.conf Jon Portnoy <avenj@g.o>