Subject: Re: prevent buildlink wrapper from enclosing rewitten argument in
To: Quentin Garnier <firstname.lastname@example.org>
From: Johnny Lam <jlam@NetBSD.org>
Date: 03/25/2005 13:36:28
Quentin Garnier wrote:
> On Fri, Mar 25, 2005 at 04:57:30PM +0100, Georg Schwarz wrote:
>>I've written a buildlink transform script for the IRIX 5.3 cc which,
>>among others substitutes -B static for -static:
>> arg=-B static
>> msg_log $wrapperlog " (transform-ido-cc) to: $arg"
>>This seems to have no effect, since I end up with -static anyway.
>>When I set
>>this is later on, arrcording to .work.log, passed as "-B static" (i.e.
>>in quotes), which the compiler does not support.
>>Does anyone know how to get around that problem?
> arg="-B static"
hmm... I've never thought about doing it that way. I think this can be
used to simplify some of the existing code. Thanks for the tip!
-- Johnny Lam <jlam@NetBSD.org>