Gentoo Archives: gentoo-dev

From: Jon Portnoy <avenj@g.o>
To: Donnie Berkholz <spyderous@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Default -O CFLAG in make.conf
Date: Sun, 25 Jan 2004 19:53:11
Message-Id: 20040125195229.GA872@cerberus.oppresses.us
In Reply to: Re: [gentoo-dev] Default -O CFLAG in make.conf by Donnie Berkholz
1 On Sun, Jan 25, 2004 at 02:43:47PM -0500, Donnie Berkholz wrote:
2 > On Sun, 2004-01-25 at 07:18, Tom Martin wrote:
3 > > As a default for x86, wouldn't -O2 be more suitable? My personal
4 > > viewpoint is that if you want to set -O3 on x86, go ahead. But if you
5 > > do, you should know why you want to do it, and what affects it will
6 > > have. Many beginners who haven't really got their heads around CFLAGS
7 > > will possibly read somewhere that -O3 gives the most optimisation and be
8 > > sold there and then.
9 >
10 > Hi,
11 > -O2 _is_ the default. The commented examples in make.conf are just that
12 > -- examples.
13 >
14 > Try leaving the make.conf as it was when distributed (with CFLAGS and
15 > CXXFLAGS commented out), then run `emerge info | grep CFLAGS`.
16 >
17 > Donnie
18
19 Most people uncomment and use the example.
20
21
22 --
23 Jon Portnoy
24 avenj/irc.freenode.net
25
26 --
27 gentoo-dev@g.o mailing list