Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: "Kevin F. Quinn" <kevquinn@g.o>
Subject: Re: Re: vectorization (was: gcc4 CFLAGS)
Date: Sun, 24 Sep 2006 23:31:34 +0200
On Sun, 24 Sep 2006 11:47:21 +0000
Peter Humphrey <prh@...> wrote:

> Is there a way to specify CFLAGS on the command line in such a way as
> to negate (unset) those that are set in /etc/make.conf? I have
> -combine and -ftree-pre in make.conf, and while emerge -e world is
> running it fails some packages by not recognising those two. When
> that happens I want to emerge --resume --skipfirst so as not to lose
> my place in the world emerge, and in another terminal emerge the ones
> that have failed.

CFLAGS=<set of flags you want> emerge --oneshot <package>

ought to do the trick - it should override the make.conf setting.  You
can do the same with FEATURES.


Aside from that, what you're really after is per-package CFLAGS (or
more generally, per-package FEATURES) which is a long-standing portage
feature request.  You can do it via a bashrc script
(in /etc/portage/bashrc) although it's not 100% - bashrc scripts are not
sourced in all phases of emerge (in particular, fetch), although they
are for the ones you're most likely to care about.

-- 
Kevin F. Quinn
Attachment:
signature.asc (PGP signature)
Replies:
Re: Re: vectorization
-- Simon Stelling
References:
gcc 4.1 upgrade - bad desktop interactivity anyone?
-- Mark Knecht
Re: Re: vectorization (was: gcc4 CFLAGS)
-- Peter Humphrey
Re: vectorization (was: gcc4 CFLAGS)
-- Duncan
Re: Re: vectorization (was: gcc4 CFLAGS)
-- Peter Humphrey
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: vectorization (was: gcc4 CFLAGS)
Next by thread:
Re: Re: vectorization
Previous by date:
Re: Flash
Next by date:
Re: CFLAGS for Core2?


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.