On Tuesday 08 May 2007, Ralf Wildenhues wrote:
> * Mike Frysinger wrote on Tue, May 08, 2007 at 12:41:44AM CEST:
> > looking through current libtool code, i dont see any places that it
> > allows gcc's -B arguments through to the linking stage ... is there such
> > code
>
> Currently not.  It would have to be at least a bit smart, too, to avoid
> passing through stuff like -Bstatic etc.

-Bstatic would be valid for the compiler driver regardless ... if you had a 
directory in $PWD named "static" ...

unless you mean invoking `ld` directly ?  -B to the compiler driver and -B to 
the linker have very diff meanings ...

> > or does it need to be added to the allowed flag list for valid linking
> > flags ?
>
> Not if it was passed in $CC, as in
>   ./configure CC='gcc -B /foo'
>
> which seems only prudent, as it makes little sense to sometimes use -B
> and sometimes not use it within one build, AFAICS.
>
> Is there any problem you have encountered?

i'm trying to use:
LDFLAGS = -B/some/path
in the build environment and things break when libtool is involved and it 
tries to link a shared library because it strips this -B flag ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to