From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26084 invoked from network); 9 Sep 2004 04:42:02 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 9 Sep 2004 04:42:02 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1C5Gkz-00031a-OU for arch-gentoo-dev@lists.gentoo.org; Thu, 09 Sep 2004 04:42:01 +0000 Received: (qmail 14503 invoked by uid 89); 9 Sep 2004 04:42:01 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 11467 invoked from network); 9 Sep 2004 04:42:00 +0000 Message-ID: <413FDF00.3040009@techmonkeys.org> Date: Thu, 09 Sep 2004 00:41:36 -0400 From: Will Buckner User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040824) X-Accept-Language: en-us, en MIME-Version: 1.0 CC: Gentoo Developers References: <33333.10.0.0.51.1094638559.squirrel@10.0.0.51> <413FA8B7.8010108@gentoo.org> <413FB713.3030404@gentoo.org> <20040909022643.GE6455@curie-int.orbis-terrarum.net> <1094701375.9661.610.camel@simple> In-Reply-To: <1094701375.9661.610.camel@simple> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on techmonkeys.org Subject: Re: [gentoo-dev] per package cflags (was Re: Do we want optimal performance?) X-Archives-Salt: a582883e-8317-4694-8f9e-e9d72ce4fcfc X-Archives-Hash: 9c661af58e348c5eda605dfcde8e88e2 on 09/08/04 23:42 Ned Ludd said the following: > > I played with that idea for a few mins, but unfortunately I found no > easy way in bash to deal with the quotes. > Assuming this syntax. > > sys-apps/paxctl CFLAGS="-Os -fomit-frame-pointer" > sys-devel/gdb CFLAGS="-O2 -g3" > app-misc/beep FEATURES="sfperms sandbox" LDFLAGS="-Wl,-z,now > -Wl,-z,relro" > dev-libs/openssl CFLAGS="-O3 -fno-omit-frame-pointer -m32" > .. > > Maybe somebody else is motivated to do it from the basic idea. I gave up > and settled for the easy way out of package.cflags package.ldflags here > locally. > What about sed'ing out the package name and then eval'ing the rest of the line? Wcc -- gentoo-dev@gentoo.org mailing list