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 1OYh0R-0000BW-BI for garchives@archives.gentoo.org; Tue, 13 Jul 2010 15:02:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BA8DE0CDC for ; Tue, 13 Jul 2010 15:02:47 +0000 (UTC) Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 484E1E09CE for ; Tue, 13 Jul 2010 14:56:28 +0000 (UTC) Received: by pwj4 with SMTP id 4so3316890pwj.40 for ; Tue, 13 Jul 2010 07:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=szeishzTxcO/OZr9bFWGc4pYbzNiEe548d6jgYGTccY=; b=AS3Y5Odh0OisGiiiPYi/yWFOhfVYs5z5ODrCUzQ4p8wGjLlMqLtS2W41kTwnIDCrdo SwviqV8+sjovj3+y4GLDsIqV3Xn3zJLFf6lpqDxntqwFpdVS33ttSvAptvMSBMjRL8Rt PZ35P8W2CDO28SsMTXk7HEaNjaB4cm1baPEXI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=wlkSP28zvd8g8NeKYVlHMfIMlrds779/nB7lK8diyb2eo4Qjggb//NsV7A97GmwrVR NU0pMkRO74vQmLQ4Sjk+CJQ3ayIJmqitZuXeuvF8CvP+5NilSODFactA21DCSPUyd9q1 nPrMOh3nTVLUx0yFq9BNtm9oiAKQy0B4as9ko= Received: by 10.142.180.20 with SMTP id c20mr3708557wff.335.1279032979513; Tue, 13 Jul 2010 07:56:19 -0700 (PDT) Received: from thinkpadr51e.hsd1.or.comcast.net (c-24-20-119-246.hsd1.or.comcast.net [24.20.119.246]) by mx.google.com with ESMTPS id r27sm5928398rvq.9.2010.07.13.07.56.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 13 Jul 2010 07:56:17 -0700 (PDT) Date: Tue, 13 Jul 2010 07:54:02 -0700 From: Tom Stellard To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] Re: How to enable/disable FEATURES in spec files? Message-ID: <20100713145402.GA16977@thinkpadr51e.hsd1.or.comcast.net> References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: 3e7c710b-8d43-4042-85be-8c375c012840 X-Archives-Hash: e33748ed7f5038a38a0dcd7568661483 On Tue, Jul 13, 2010 at 09:30:43AM -0400, Matt Turner wrote: > On Fri, Jul 9, 2010 at 8:54 PM, Matt Turner wrote: > > I'm trying to build some new MIPS stages, and need to disable sandbox > > from FEATURES due to bug 45814. > > > > I've searched google and the catalyst source but don't see any way to > > disable an arbitrary FEATURE flag. I just hacked in a -sandbox and it > > works, but I'd like to think there's a better way. > > > > Also, since there are no recent MIPS-N32 stages, I just tar.bz2'd my > > installation and put it in the builds/ directory for use as the seed > > stage. It uses -march=sb1 in the make.conf, and the packages built by > > `catalyst -f file.spec` seem to be using this CFLAG (as shown by the > > file command, which reports that the binaries produced are MIPS64, > > instead of MIPS IV, as I've requested), even though I've specified > > CFLAGS in the spec file, and given it a proper subarch. Spec file is > > as follows > > > > --- > > subarch: mips4_n32 > > version_stamp: 20100709 > > target: stage3 > > rel_type: default > > profile: default/linux/mips/10.0/n32 > > snapshot: 20100907 > > source_subpath: stage4-mips4_n32-sb1-20100907 > > cflags: -O2 -march=mips4 -mabi=n32 -mplt -pipe > > cxxflags: -O2 -march=mips4 -mabi=n32 -mplt -pipe > > ldflags: -Wl,--as-needed > > > > makeopts: -j2 > > --- > > > > What gives? I'm looking at mips.py, and it looks like it should be > > assigning CFLAGS given subarch = mips4_n32. > > > > Thanks, > > Matt > > Ping? > I think you can do this in your catalystrc file. Try something like: export FEATURES="-sandbox" -Tom