Subject: Re: prevent buildlink wrapper from enclosing rewitten argument in
To: Quentin Garnier <>
From: Johnny Lam <>
List: tech-pkg
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"
>>        addtocache=yes
>>        ;;
>>This seems to have no effect, since I end up with -static anyway.
>>When I set
>>arg=-B\ static
>>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"
> split_arg=yes

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 <>