On Aug 5, 2011, at 5:55 AM, Brice Goglin wrote:

>> Libtool's -all-static flag probably resolves to some gcc flag(s), right?  
>> Can you just pass those in via CFLAGS / LDFLAGS to configure and then not 
>> pass anything in via make?
> 
> I only see an additional -static flag on the final program-link gcc
> command-line when -all-static is given to libtool. But if you pass
> LDFLAGS=-static to configure, it's interpreted by libtool and gcc
> doesn't get a -static when linking programs.

Well, that's certainly yucky.  As a *guess*, this sounds like this is an 
artifact of Libtool not having a distinct namespace for its CLI arguments 
(i.e., Libtool assuming that "-static" is intended as a Libtool argument, not a 
compiler/linker argument).

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to