Subject: prevent buildlink wrapper from enclosing rewitten argument in quotes?
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: tech-pkg
Date: 03/25/2005 16:57:30
I've written a buildlink transform script for the IRIX 5.3 cc which,
among others substitutes -B static for -static:

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





-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 georg.schwarz@freenet.de     +49 178 8545053