On Tue, Aug 04, 2009 at 05:54:58PM +0200, Karsten Hopp wrote:
> and we were using -D_FORTIFY_SOURCE=2 to compile vim as you've already 
> suspected.

Actually, you're using -Wp,-D_FORTIFY_SOURCE=2 instead of simply
-D_FORTIFY_SOURCE=2.  I'd take a guess that's the issue because
otherwise the later -D_FORTIFY_SOURCE=1 should override the earlier
definition.

GCC's documentation recommends not using -Wp since it bypasses the
compiler driver and directly passes the options down to the
preprocessor.  Maybe that'd be good advice to heed.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <james...@jamessan.com>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui