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 1OXOLa-0004oA-Sc for garchives@archives.gentoo.org; Sat, 10 Jul 2010 00:55:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59CFAE09FE; Sat, 10 Jul 2010 00:54:58 +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 35134E09FE for ; Sat, 10 Jul 2010 00:54:58 +0000 (UTC) Received: by gyg4 with SMTP id 4so2064191gyg.40 for ; Fri, 09 Jul 2010 17:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=PqeUry234l6MmRFGeHsyKopbybEeP4a6IPsEx6qVLrY=; b=USEoJ3wmSL0w/RTj0oF/l0zCW8Ie3REV/HZUla8zXMQ2dypDpKiYVK4oBxAlI5sQNb adlv+K0t5ITOp6rKRK8+qO/RF15ABVJcyWQ9V+F5sahnrDhVeev43fGSe36gHBMNhyyw IKyHS9zbUS++MzjjZQGXqd2Hx7AucH+++D5zY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UBu7gQIEhobmsFmqgMiGWqE6wWNni8aCWOSDhFbNtYuff951JZUXdb9QbEE5N43rsC Y+I466lu6EWMV+iLB6bTfOm+vi9ecemkknYkWsMA/xHLWIFqBB7rN1C+7Kk4A9g1mAYn mk3C1X6YBXmdIEchBlmPo/fGeWFCd62lN8uVg= 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.229.237.11 with SMTP id km11mr6233415qcb.123.1278723297741; Fri, 09 Jul 2010 17:54:57 -0700 (PDT) Received: by 10.229.37.77 with HTTP; Fri, 9 Jul 2010 17:54:57 -0700 (PDT) Date: Fri, 9 Jul 2010 20:54:57 -0400 Message-ID: Subject: [gentoo-catalyst] How to enable/disable FEATURES in spec files? From: Matt Turner To: gentoo-catalyst@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 7e9a7c04-67b9-4bcb-9aea-645087bc9cc0 X-Archives-Hash: c1298b806a7a1f494d39fb804046775c 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