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 1QMG7D-0000jx-PZ for garchives@archives.gentoo.org; Tue, 17 May 2011 08:58:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18A471C147; Tue, 17 May 2011 08:58:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B610E1C147 for ; Tue, 17 May 2011 08:58:43 +0000 (UTC) Received: from [192.168.1.2] (ap.ran.gpi.ru [195.209.218.156]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pva) by smtp.gentoo.org (Postfix) with ESMTPSA id 3614D1B400A; Tue, 17 May 2011 08:58:41 +0000 (UTC) Subject: Re: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? From: Peter Volkov To: Nikos Chantziaras Cc: gentoo-devhelp@lists.gentoo.org In-Reply-To: References: <20110517051428.GL31702@ohnopublishing.net> <1305614715.23203.4.camel@tablet> Content-Type: text/plain; charset="UTF-8" Date: Tue, 17 May 2011 12:57:48 +0400 Message-ID: <1305622668.23203.21.camel@tablet> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Development-related help X-BeenThere: gentoo-devhelp@gentoo.org X-BeenThere: gentoo-devhelp@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 001203c5cec06180e7dc0c3a2862a2ed =D0=92 =D0=92=D1=82=D1=80, 17/05/2011 =D0=B2 10:18 +0300, Nikos Chantziar= as =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 05/17/2011 09:45 AM, Peter Volkov wrote: > > =D0=92 =D0=92=D1=82=D1=80, 17/05/2011 =D0=B2 08:23 +0300, Nikos Chant= ziaras =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> scons: *** Path for option install_path does not exist: > >> /var/tmp/portage/dev-util/gpuocelot-9999/image > > > > Please, post full ebuild. > src_compile() { > tc-export CC CXX > escons install_path=3D"${D}"/usr test_level=3Dnone || die You don't need install_path here, only in src_install(). As for CC, CXX, CFLAGS and etc, you'll have to patch scripts/build_environment.py for that as it drops all environment in importEnvironment(). May be it's good idea to contact upstream on this issue. -- Peter.