Passing arguments into LDFLAGS

Paul F. Johnson paul at all-the-johnsons.co.uk
Wed Sep 22 12:08:11 UTC 2010


Hi,

I know I can do the likes of 

export CFLAGS="$CFLAGS -blah" and it will pass whatever CFLAGS is plus
the argument "-blah" to the compiler.

How do I do this with LDFLAGS. I'm trying to pass --build-id using

export LDFLAGS="$LDFLAGS --build-id"

It's about the only way I can get mono to build currently!

TTFN

Paul
-- 
Vertraue mir, ich weiss, was ich mache...



More information about the devel mailing list