fix build with compilers with default stack-protector enabled
authorNorbert Lange <norbert.lange@andritz.com>
Thu, 19 Sep 2019 15:49:20 +0000 (17:49 +0200)
committerMichael Biebl <biebl@debian.org>
Sun, 10 Nov 2019 23:58:41 +0000 (23:58 +0000)
commit9d1929a4d2a64fa310b3936e3464517ac8696c5a
tree340cc9ac75822114f45400b73306d1882734c7f7
parent78a34d0a3916466954a45f693e5cfea908d935d7
fix build with compilers with default stack-protector enabled

building systemd fails with a compiler that supports
-fstack-protector but does not enable it by default.
(will miss several __stack_chk_* symbols).

fix this by also adding the switch during linking.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
(cherry picked from commit 68e70ac2b27dcb5007fc4009553472f0b9700e66)
(cherry picked from commit 6d97aca0d50343d46cad79af3cabb46dcd56b82f)

Gbp-Pq: Name fix-build-with-compilers-with-default-stack-protector-ena.patch
meson.build