Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] mplayer compilation
Date: Mon, 20 Nov 2006 15:02:19
Message-Id: 200611201552.18779.bo.andresen@zlin.dk
In Reply to: [gentoo-user] mplayer compilation by Pawel K
1 On Monday 20 November 2006 15:22, Pawel K wrote:
2 > I'm compiling gentoo on P4 an use my system HD both on
3 > pentium 4 and pentium 3. My make.conf looks like:
4 >
5 > CFLAGS="-march=pentium3"
6 > CHOST="i686-pc-linux-gnu"
7 >
8 > It works good for all packages but mplayer. Mplayer is
9 > always compiled for p4 when compiled on p4 and for p3
10 > when it is compiled on p3.
11 >
12 > How can I force it to be always compiled for p3?
13 >
14 > I don't want to compile it on my p3 since it is to
15 > slow.
16
17 Well, actually the mplayer ebuild don't care about your CFLAGS unless you
18 enable the custom-cflags USE flag. Otherwise march is entirely unset. So any
19 binpkg made for mplayer on your p4 should work just fine on your p3 as long
20 as you don't enable that USE flag.
21
22 --
23 Bo Andresen

Replies

Subject Author
Re: [gentoo-user] mplayer compilation Hans-Werner Hilse <hilse@×××.de>