autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autoconf does not like "-D_FORTIFY_SOURCE=2 -O2"


From: Paul Eggert
Subject: Re: Autoconf does not like "-D_FORTIFY_SOURCE=2 -O2"
Date: Wed, 08 May 2013 07:15:50 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5

On 05/08/2013 07:00 AM, Zack Weinberg wrote:

> I think the quick fix from your end is to move -D_FORTIFY_SOURCE to
> CFLAGS (and presumably also CXXFLAGS).

Another possibility is to append -O2 to CPPFLAGS.  The point is that
-O2 should always be used if -D_FORTIFY_SOURCE is.

> I note that Debian has patched this warning out of their (just now
> appeared in unstable) glibc 2.17.

Sounds like a win to me.  Maybe I should file a glibc bug report
upstream....




reply via email to

[Prev in Thread] Current Thread [Next in Thread]