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
1 В Втр, 17/05/2011 в 10:18 +0300, Nikos Chantziaras пишет:
2 > On 05/17/2011 09:45 AM, Peter Volkov wrote:
3 > > В Втр, 17/05/2011 в 08:23 +0300, Nikos Chantziaras пишет:
4 > >> scons: *** Path for option install_path does not exist:
5 > >> /var/tmp/portage/dev-util/gpuocelot-9999/image
6 > >
7 > > Please, post full ebuild.
8
9 > src_compile() {
10 > tc-export CC CXX
11 > escons install_path="${D}"/usr test_level=none || die
12
13 You don't need install_path here, only in src_install().
14
15 As for CC, CXX, CFLAGS and etc, you'll have to patch
16 scripts/build_environment.py for that as it drops all environment in
17 importEnvironment(). May be it's good idea to contact upstream on this
18 issue.
19
20 --
21 Peter.

Replies

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