bpf: disable -fstack-protector in meson
authorSam James <sam@gentoo.org>
Fri, 13 Jan 2023 05:17:56 +0000 (05:17 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 19 Jan 2023 13:12:15 +0000 (13:12 +0000)
commite3342b2d3f268987d3cd4c7f76a0e085c88a5e58
tree34309a1b43035921666e6de8b7018471429cb6ab
parent48e582d7fea7817e3a57d633f11418c679dd9370
bpf: disable -fstack-protector in meson

In Gentoo, we recently started making Clang behave the same way as
our GCC, with -fstack-protector and some friends enabled by default.

SSP doesn't make sense for BPF, so disable it explicitly.

See also e.g. https://www.spinics.net/lists/netdev/msg556400.html.

Bug: https://bugs.gentoo.org/890004
src/core/bpf/meson.build