Re: _FORTIFY_SOURCE by default? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: _FORTIFY_SOURCE by default?
Date
Msg-id 1348626895.13797.8.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: _FORTIFY_SOURCE by default?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, 2012-09-17 at 23:10 -0400, Tom Lane wrote:
> > I had suggested to put it into src/include/port/linux.h
> 
> OK, that's probably reasonable.

It turns out that doesn't work because port.h is included after all the
interesting libc header files (stdio.h etc.).

I think the best place to put it is going to be src/template/linux.
That would mirror the existing practice of putting it on the compiler
command line.





pgsql-hackers by date:

Previous
From: Joachim Wieland
Date:
Subject: Review for pg_dump: Sort overloaded functions in deterministic order
Next
From: Hitoshi Harada
Date:
Subject: Re: htup header reorganization breaks many extension modules