On 10/14/11 17:45, Mike Frysinger wrote:
> On Friday 14 October 2011 03:08:14 Michael Haubenwallner wrote:
>> On 10/14/11 01:48, Mike Frysinger wrote:
>>> i've found myself a few times having to implement logic like so:
>>>     CFLAGS=${BUILD_CFLAGS:--O1 -pipe} \
>>>     CXXFLAGS=${BUILD_CXXFLAGS:--O1 -pipe} \
>>>     CPPFLAGS=${BUILD_CPPFLAGS} \
>>>     LDFLAGS=${BUILD_LDFLAGS} \
>>>     CC=$(tc-getBUILD_CC) \
>>>     LD=$(tc-getBUILD_LD) \
>>>     econf --host=${CBUILD} "$@"
>>
>> <snip>

> i'll probably implement as an @INTERNAL:
> tc-env_build() { ... }
> 
> then define econf_build on top of that as an exported API.  then let's see 
> what 
> grows organically beyond.

Fine with me.

/haubi/
-- 
Michael Haubenwallner
Gentoo on a different level

Reply via email to