From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-130458-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RKoNw-0005hN-AR
	for garchives@archives.gentoo.org; Mon, 31 Oct 2011 09:42:28 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2847821C0DD;
	Mon, 31 Oct 2011 09:42:20 +0000 (UTC)
Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id A93CB21C08C
	for <gentoo-user@lists.gentoo.org>; Mon, 31 Oct 2011 09:41:07 +0000 (UTC)
Received: by gye5 with SMTP id 5so7809017gye.40
        for <gentoo-user@lists.gentoo.org>; Mon, 31 Oct 2011 02:41:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        bh=OUc9j65ndhNPUtbUNFhdHldSmOKyG3F63gHH6g31MWU=;
        b=Fv5FIWWw0YT3qr4lVACZR7y7qRC8qjYQMFuMEXUYyWFJzrX8cL4py4xLk+f2fVsWAi
         HUOTVyqf7xotxqQSMyYhKIWOBgUJYqcK7PCtQfKpge5+AjDUMYA9kx5esOStViYVhbtd
         +phAz/w9OgvRcgoTdilo5h9pKDfkMZEy8WGPo=
Received: by 10.42.151.4 with SMTP id c4mr21241482icw.39.1320054067056; Mon,
 31 Oct 2011 02:41:07 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.42.179.7 with HTTP; Mon, 31 Oct 2011 02:40:46 -0700 (PDT)
In-Reply-To: <CA+czFiBou9y9myfQxp9B9+B7MOs8AWkz8nNKUBCQa5zgsdxu_w@mail.gmail.com>
References: <CA+czFiBou9y9myfQxp9B9+B7MOs8AWkz8nNKUBCQa5zgsdxu_w@mail.gmail.com>
From: James Broadhead <jamesbroadhead@gmail.com>
Date: Mon, 31 Oct 2011 09:40:46 +0000
Message-ID: <CA+hid6HFwtUi11gUSUOv=H9yDHjb6YphzbpJMSOP5TpUgD-+Fw@mail.gmail.com>
Subject: Re: [gentoo-user] Calls compiler directly, and strange parameters
 passed. Is this a bug?
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: 6fb23810-1f8a-41d5-80b5-dfcc010bb8f4
X-Archives-Hash: fb094a7e2fe433ca045aa03d9e4a40f5

On 29 October 2011 01:03, Michael Mol <mikemol@gmail.com> wrote:
> Is this incorrect? Does it qualify as a bug?

Yes. The ebuild should respect your CFLAGS unless there is a USE flag
to enable/disable them. The counter to this is when a package won't
build without specific flags, then disregarding the user is okay.
Since this is over-optimising (rather than under-), this probably
isn't the case.

File a minor bug, and if you're super-interested, please take a look
at ebuild writing. I get the feeling that maintaining calibre is a bit
messy, I'm sure that they'd appreciate the help.