Am Montag 22 Dezember 2008 schrieb Michael Wiegand:
> Could you explain why you are passing LDFLAGS directly to gcc? This may
> work in some or most cases, but might lead to trouble with LDFLAGS gcc
> does not understand. Wouldn't it be better to use -Xlinker or -Wl, for
> that?

It's common practise to do so. If you pass LDFLAGS to configure/makefiles, you 
usually pass them in a gcc-compliant way.

That's also the way common autoconf/automake-setups do it, you'll always use 
something like LDFLAGS="-Wl,--as-needed" and never LDFLAGS="--as-needed".

-- 
Hanno Böck              Blog:           http://www.hboeck.de/
GPG: 3DBD3B20           Jabber/Mail:    ha...@hboeck.de

http://www.jukss.de/ Jugemdumweltkongress, 27.12.-4.1.

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

_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to