Skip to Content.
Please activate JavaScript in your web browser
List archive
Re: [SM-Commit] GIT changes to master archspecs by sandalle (8f29788d595401c5574782132fd3026ef622aaf4)
Chronological
Thread
<
Chronological
>
<
Thread
>
From
: Eric Sandall <eric AT sandall.us>
To
: sm-commit AT lists.ibiblio.org
Subject
: Re: [SM-Commit] GIT changes to master archspecs by sandalle (8f29788d595401c5574782132fd3026ef622aaf4)
Date
: Mon, 16 Mar 2009 12:11:30 -0700
On Mon, 16 Mar 2009 09:50:49 +0100
Jaka Kranjc <smgl AT lynxlynx.info> wrote:
>
On Monday 16 of March 2009 08:59:17 sandalle wrote:
>
> +if use_gcc 4.3. ; then
>
> + CFLAGS="-march=core2 -m32"
>
> +elif use_gcc 3.3. ; then
>
> + CFLAGS="-march=nocona -m32"
>
> +elif use_gcc2 ; then
>
> + CFLAGS="-march=i686"
>
> +else
>
> + CFLAGS="-march=nocona -m32"
>
> +fi
>
As soon as gcc 4.4 is out, this will be broken. Since the + support
>
isn't readily available yet, I suggest something like this:
>
>
if use_gcc 3.3. || use_gcc 3.4. || use_gcc 4.0 || use_gcc 4.1 ||
>
use_gcc 4.2; then
>
CFLAGS="-march=nocona -m32"
>
elif use_gcc2 ; then
>
CFLAGS="-march=i686"
>
else
>
CFLAGS="-march=core2 -m32"
>
fi
Thanks Jaka. :) I also added the '.' to 4.0, 4.1, and 4.2.
-sandalle
--
Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us PGP: 0xA8EFDD61 |
http://www.sourcemage.org/
http://eric.sandall.us/
|
http://counter.li.org/
#196285
Attachment:
signature.asc
Description:
PGP signature
[SM-Commit] GIT changes to master archspecs by sandalle (8f29788d595401c5574782132fd3026ef622aaf4)
,
sandalle, 03/16/2009
Re: [SM-Commit] GIT changes to master archspecs by sandalle (8f29788d595401c5574782132fd3026ef622aaf4)
,
Jaka Kranjc, 03/16/2009
Re: [SM-Commit] GIT changes to master archspecs by sandalle (8f29788d595401c5574782132fd3026ef622aaf4)
,
Eric Sandall, 03/16/2009
Archive powered by
MHonArc 2.6.24
.