Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master archspecs by sandalle (8f29788d595401c5574782132fd3026ef622aaf4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <smgl AT lynxlynx.info>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: Re: [SM-Commit] GIT changes to master archspecs by sandalle (8f29788d595401c5574782132fd3026ef622aaf4)
  • Date: Mon, 16 Mar 2009 09:50:49 +0100

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



--
We cannot command nature except by obeying her. --Sir Francis Bacon
Have a sourcerous day! www.sourcemage.org

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page