aboutgitcodebugslistschat
path: root/pasta.c
diff options
context:
space:
mode:
authorMichal Privoznik <mprivozn@redhat.com>2024-08-29 16:16:03 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-08-29 22:26:21 +0200
commit38363964fc96008761195984c989b036227e0e5c (patch)
tree7bd9161dad67d4fff2a44e476e0c3e58e1a732a3 /pasta.c
parenteedc81b6ef552736c4d1d7354837e296af081b57 (diff)
downloadpasst-38363964fc96008761195984c989b036227e0e5c.tar
passt-38363964fc96008761195984c989b036227e0e5c.tar.gz
passt-38363964fc96008761195984c989b036227e0e5c.tar.bz2
passt-38363964fc96008761195984c989b036227e0e5c.tar.lz
passt-38363964fc96008761195984c989b036227e0e5c.tar.xz
passt-38363964fc96008761195984c989b036227e0e5c.tar.zst
passt-38363964fc96008761195984c989b036227e0e5c.zip
Makefile: Enable _FORTIFY_SOURCE iff needed
On some systems source fortification is enabled whenever code optimization is enabled (e.g. with -O2). Since code fortification is explicitly enabled too (with possibly different value than the system wants, there are three levels [1]), distros are required to patch our Makefile, e.g. [2]. Detect whether fortification is not already enabled and enable it explicitly only if really needed. 1: https://www.gnu.org/software/libc/manual/html_node/Source-Fortification.html 2: https://github.com/gentoo/gentoo/commit/edfeb8763ac56112c59248c62c9cda13e5d01c97 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pasta.c')
0 files changed, 0 insertions, 0 deletions