public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bo Ørsted Andresen" <bo.andresen@zlin.dk>
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	[thread overview]
Message-ID: <200706091848.35459.bo.andresen@zlin.dk> (raw)
In-Reply-To: <466AD7C1.3030009@electronsweatshop.com>

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]

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=pentium-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="-march=..."
        CXXFLAGS="$CFLAGS"
    ;;
esac

Or:

# mkdir -p /etc/portage/env/app-emulation && echo 'CFLAGS="-march=..."
CXXFLAGS="$CFLAGS"' > /etc/portage/env/app-emulation/virtualbox

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-06-09 16:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-09 16:39 [gentoo-user] gcc-3.3.6 and the pentium-m flag Randy Barlow
2007-06-09 16:48 ` Bo Ørsted Andresen [this message]
2007-06-09 16:59   ` Naga Toro
2007-06-09 17:28     ` Bo Ørsted Andresen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200706091848.35459.bo.andresen@zlin.dk \
    --to=bo.andresen@zlin.dk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox