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 ) id 1RGGMN-0005nc-Ry for garchives@archives.gentoo.org; Tue, 18 Oct 2011 20:34:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 128DB21C0B3; Tue, 18 Oct 2011 20:33:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D24F321C0B3 for ; Tue, 18 Oct 2011 20:33:53 +0000 (UTC) Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mattst88) by smtp.gentoo.org (Postfix) with ESMTPSA id 301E91B4006 for ; Tue, 18 Oct 2011 20:33:53 +0000 (UTC) Received: by vws19 with SMTP id 19so1132137vws.40 for ; Tue, 18 Oct 2011 13:33:51 -0700 (PDT) Received: by 10.52.173.168 with SMTP id bl8mr4197638vdc.85.1318970031230; Tue, 18 Oct 2011 13:33:51 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Received: by 10.52.187.38 with HTTP; Tue, 18 Oct 2011 13:33:31 -0700 (PDT) In-Reply-To: References: From: Matt Turner Date: Tue, 18 Oct 2011 16:33:31 -0400 Message-ID: Subject: Re: [gentoo-catalyst] Setting cflags for a single package in spec file To: gentoo-catalyst@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: X-Archives-Hash: a4ad2c93866ca7f60d0fc3e8f5370065 On Tue, Oct 18, 2011 at 4:04 PM, Garrity, Christopher wrote: > > Thanks, that did it! > > # grep confdir catalyst-netboot2.spec > portage_confdir: /etc/portage > > # find /etc/portage/env -type f -exec cat {} \; -print > CFLAGS="-mtune=core2 -march=core2 -pipe -fomit-frame-pointer" > CHOST="x86_64-pc-linux-gnu" > CXXFLAGS="${CFLAGS}" > /etc/portage/env/net-ftp/tftp-hpa > > My tftp client no longer segs :) Great to hear! Speaking of which, I don't see any bugs reported in the Gentoo bug tracker. How can I reproduce the seg fault you're seeing? I just compiled tftp-hpa-5.1 with gcc-4.5.3-r1. Thanks, Matt