Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 12:13:06 +0100
From:      Jean-Yves Lefort <jylefort@FreeBSD.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        gnome@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/glib20 Makefile
Message-ID:  <20070112121306.48f99e8b.jylefort@FreeBSD.org>
In-Reply-To: <20070112111726.k4y1ue5w6c0s4owo@webmail.leidinger.net>
References:  <200701111721.l0BHLaZA019340@repoman.freebsd.org> <20070112111726.k4y1ue5w6c0s4owo@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Fri__12_Jan_2007_12_13_06_+0100_=P45oQB9t6Av3NBR
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Fri, 12 Jan 2007 11:17:26 +0100
Alexander Leidinger <Alexander@Leidinger.net> wrote:

> Quoting Jean-Yves Lefort <jylefort@FreeBSD.org> (from Thu, 11 Jan 2007
> 17:21:36 +0000 (UTC)):
>
> > jylefort    2007-01-11 17:21:36 UTC
> >
> >   FreeBSD ports repository
> >
> >   Modified files:
> >     devel/glib20         Makefile
> >   Log:
> >   On i386 (>= 486) and amd64, fix the arch passed to configure so that
> >   glib will implement atomic operations with assembler instructions
> >   rather than mutexes (improves performance).
>
> What about setting GNOME_ARCH based upon CPUTYPE instead of hardcoding
> it to i486?

The problem is not specific to GNOME. I prefer the solution below.

> Or much better: set --build in bsd.port.mk globally based upon CPUTYPE
> (to iX86 on IA32, I'm not sure if it is wise to change the amd64 one
> globally).

Yes. And do pass x86_64 for amd64, that's what a majority of configure
scripts expect since they have linux in mind.

--
Jean-Yves Lefort

jylefort@FreeBSD.org
http://lefort.be.eu.org/

--Signature=_Fri__12_Jan_2007_12_13_06_+0100_=P45oQB9t6Av3NBR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFp21JyzD7UaO4AGoRAkwfAJ9tZsh3BTcJbOJFvyHbVUMP+QQPjACeLKmZ
0339QgTrRAmAzUQpOoKzgcU=
=riQv
-----END PGP SIGNATURE-----

--Signature=_Fri__12_Jan_2007_12_13_06_+0100_=P45oQB9t6Av3NBR--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070112121306.48f99e8b.jylefort>