http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50342

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-09-09 
18:56:19 UTC ---
> Is there an approved way of getting CFLAGS="-D_FORTIFY_SOURCE=0" into the
> configure process? (there isn't AFAICT a problem with the actual build). I've
> tried
> 
>   ../gcc-4.6.1/configure host_configargs="CFLAGS=\"-D_FORTIFY_SOURCE=0\"" 
> .....
> 
> which seems to work but is I think undocumented? (and hairy)

Try CC="gcc -D_FORTIFY_SOURCE=0" $srcdir/configure

> On the other hand, we could reconsider -fkeep-inline-functions in the 
> configure
> scripts? The problem arises because the unsupported inlined builtin call is
> (effectively) in <string.h>, so we don't need to actually call it.

On Darwin, possibly, but otherwise I don't see any good reason to do that.

Reply via email to