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-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Vaeth <vaeth@...>
Subject: Re: [gentoo-dev-announce] debug USE flag misuse
Date: Fri, 2 Jul 2010 00:14:36 +0200 (CEST)
Nikos Chantziaras <realnc@...> wrote:
>
> If you use portage than you can control per-package CFLAGS using
> bashrc and /etc/portage/env or similar functionality.

This is correct, but the problem is that an ebuild author or
upstream cannot set a "default" here:  IMHO, it shouldn't be
necessary for the user to use such things only in order to
compile a package with the CFLAGS which upstream recommends.
Normally, users will not read such a recommendation (and in fact,
they shouldn't have to, since reading INSTALL or similar things
should be the task of the ebuild author).

Speaking from the author's perspective: There should be a way
to write code appropriate for a specific compiler flag and to
assume that most users will then actually compile the package
with the corresponding flag.
If a user explicitly does not want to do this, this is fine,
but the ebuild should have a way to make sure that this only
happens if it is really the intention of the user.
Normally, USE flags are the way to pass options to the
user, aren't they?

Best Regards
Martin Väth
Replies:
Re: [gentoo-dev-announce] debug USE flag misuse
-- Vaeth
Re: Re: [gentoo-dev-announce] debug USE flag misuse
-- Alec Warner
References:
Re: [gentoo-dev-announce] debug USE flag misuse
-- Vaeth
Re: [gentoo-dev-announce] debug USE flag misuse
-- Vaeth
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [gentoo-dev-announce] debug USE flag misuse
Next by thread:
Re: Re: [gentoo-dev-announce] debug USE flag misuse
Previous by date:
Re: [gentoo-dev-announce] debug USE flag misuse
Next by date:
Re: Re: [gentoo-dev-announce] debug USE flag misuse


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

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