From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hx4CY-0006f4-VP for garchives@archives.gentoo.org; Sat, 09 Jun 2007 16:54:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l59GqtwW012957; Sat, 9 Jun 2007 16:52:55 GMT Received: from shuttle.zlin.dk (port78.ds1-abs.adsl.cybercity.dk [212.242.227.17]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l59GmYbw008180 for ; Sat, 9 Jun 2007 16:48:35 GMT Received: from BA.zlin.dk (unknown [10.0.0.3]) by shuttle.zlin.dk (Postfix) with ESMTP id 03B68104060 for ; Sat, 9 Jun 2007 18:48:34 +0200 (CEST) From: Bo =?iso-8859-1?q?=D8rsted_Andresen?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gcc-3.3.6 and the pentium-m flag Date: Sat, 9 Jun 2007 18:48:34 +0200 User-Agent: KMail/1.9.7 References: <466AD7C1.3030009@electronsweatshop.com> In-Reply-To: <466AD7C1.3030009@electronsweatshop.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart12083624.bEnRxvhppT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200706091848.35459.bo.andresen@zlin.dk> X-Archives-Salt: eb9b8f00-19a5-4988-adfd-4d0af3c82399 X-Archives-Hash: dc5e4e3b6f3003c4f8601ab324235063 --nextPart12083624.bEnRxvhppT Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 09 June 2007 18:39:29 Randy Barlow wrote: > I am trying to install virtualbox to play with it (any other non-masked > virtualization tools besides Xen and qemu that you might recommend me > trying out?) and it wants to pull in gcc-3.3.6. That's fine, but I am > using the -march=3Dpentium-m flag on my laptop and that wasn't a valid > flag in the days of gcc-3.3.6 so the build fails. Is there something > similar to /etc/portage/package.use where I can specify different CFLAGS > for this particular ebuild? Other suggestions? Either put something like the following in /etc/portage/bashrc: case "$CATEGORY/$PN" in app-emulation/virtualbox) CFLAGS=3D"-march=3D..." CXXFLAGS=3D"$CFLAGS" ;; esac Or: # mkdir -p /etc/portage/env/app-emulation && echo 'CFLAGS=3D"-march=3D..." CXXFLAGS=3D"$CFLAGS"' > /etc/portage/env/app-emulation/virtualbox =2D-=20 Bo Andresen --nextPart12083624.bEnRxvhppT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) iD8DBQBGatnj8/kKEzmwNNoRAjCNAKDIDflol5Ymd1M4QvZgKwe36slyAgCfUs4e q/tSun0Ld+7/xl/fHLrrgZ8= =XGHk -----END PGP SIGNATURE----- --nextPart12083624.bEnRxvhppT-- -- gentoo-user@gentoo.org mailing list