On 11/21/2010 03:02 PM, Cristian Rodríguez wrote:
El 21/11/10 09:16, Guido Berhoerster escribió:
vim seems to use some clever optimizations for memory management which break with -D_FORTIFY_SOURCE=2 so in this case it seems justified to replace it with -D_FORTIFY_SOURCE=1 as recommended by upstream.
In case this code is really correct (?) only the affected unit, may be built with "1" NOT the whole package !
#ifdef _FORTIFY_SOURCE #undef _FORTIFY_SOURCE #define _FORTIFY_SOURCE 1 #endif
ps: yeah, I should not be teaching on how to do this stuff, it is dangerous ;-)
Thanks, now it's fallen into the wrong hands :-) I had a package that failed (gcc froze) on one lib when anything more than -o0 was used, that would have been easier than patching SConscript. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org