Gentoo Archives: gentoo-devhelp

From: Peter Volkov <pva@g.o>
To: Nikos Chantziaras <realnc@×××××.de>
Cc: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Date: Tue, 17 May 2011 08:58:55
Message-Id: 1305622668.23203.21.camel@tablet
In Reply to: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? by Nikos Chantziaras
В Втр, 17/05/2011 в 10:18 +0300, Nikos Chantziaras пишет:
> On 05/17/2011 09:45 AM, Peter Volkov wrote: > > В Втр, 17/05/2011 в 08:23 +0300, Nikos Chantziaras пишет: > >> 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="${D}"/usr test_level=none || 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.

Replies

Subject Author
[gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? Nikos Chantziaras <realnc@×××××.de>