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

2013-05-07 Thread Anatol Pomozov
Hi, Linux Arch distributive recently added following compilation flags to CPPFLAGS: "-D_FORTIFY_SOURCE=2 -O2". Unfortunately it breaks autoconf based projects such as gdb, gcc, ... The issue is that autoconf compiles some programs to find whether system has headers. And to compile it uses only p

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

2013-05-07 Thread Paul Eggert
On 05/07/2013 08:49 PM, Anatol Pomozov wrote: > Linux Arch distributive recently added following compilation flags to > CPPFLAGS: "-D_FORTIFY_SOURCE=2 -O2". Unfortunately it breaks autoconf based > projects such as gdb, gcc, ... > > The issue is that autoconf compiles some programs to find whethe

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

2013-05-07 Thread Allan McRae
On 08/05/13 15:01, Paul Eggert wrote: > On 05/07/2013 08:49 PM, Anatol Pomozov wrote: > >> Linux Arch distributive recently added following compilation flags to >> CPPFLAGS: "-D_FORTIFY_SOURCE=2 -O2". Unfortunately it breaks autoconf based >> projects such as gdb, gcc, ... >> >> The issue is that