Gentoo Archives: gentoo-user

From: Uwe Thiem <uwix@××××.na>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mysql build error
Date: Wed, 28 Feb 2007 06:25:24
Message-Id: 200702280819.10330.uwix@iway.na
In Reply to: Re: [gentoo-user] mysql build error by "Bo Ørsted Andresen"
1 On 27 February 2007, Bo Ørsted Andresen wrote:
2 > On Tuesday 27 February 2007 19:41:37 Uwe Thiem wrote:
3 > > > > CXXFLAGS="O3"
4 > > >
5 > > > And yet you did... ;)
6 > >
7 > > Hm... That never was a problem with mysql before. Not even with versions
8 > > that do not compile anymore but did in the past.
9 > >
10 > > Here are the relevant lines in make.conf:
11 > > CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
12 > > CXXFLAGS="${CFLAGS}"
13 > >
14 > > That should not cause the dash to be omitted. Anyway, I will give it a
15 > > try after copying CFLAGS over to CXXFLAGS verbatim.
16 > >
17 > > Will let you know about the outcome.
18
19 Alright, that yielded the very same outcome.
20
21 >
22 > Are you sure there isn't a second entry setting CXXFLAGS=O3? Or perhaps in
23 > your env?
24 >
25 > # grep CXXFLAGS /etc/make.conf
26 > # env | grep CXXFLAGS
27
28 uwe@uwix ~ $ grep CXX /etc/make.conf
29 CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
30
31 uwe@uwix ~ $ env | grep CXX
32 CXXFLAGS=-O3 -march=pentium4 -mcpu=pentium4
33
34 So where does the dash get lost? Weird.
35
36 Uwe
37
38 --
39 A fast and easy generator of fractals for KDE:
40 http://www.SysEx.com.na/iwy-1.0.tar.bz2
41 Proof of concept of a TSP solver for KDE:
42 http://www.SysEx.com.na/epat-0.1.tar.bz2
43 --
44 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] mysql build error "Bo Ørsted Andresen" <bo.andresen@××××.dk>