diff options
| author | Stijn Tintel <stijn@linux-ipv6.be> | 2023-07-28 22:40:34 +0300 |
|---|---|---|
| committer | Stijn Tintel <stijn@linux-ipv6.be> | 2023-08-03 17:39:39 +0300 |
| commit | 15acde674c76504e023a525506a2e248e9aecd24 (patch) | |
| tree | 41e418bf870ca7e019710ee5174125880d7bb420 /package/kernel/linux | |
| parent | 57fda4b743ecf06c217d2670002313d528ff817a (diff) | |
| download | upstream-15acde674c76504e023a525506a2e248e9aecd24.tar.gz upstream-15acde674c76504e023a525506a2e248e9aecd24.tar.bz2 upstream-15acde674c76504e023a525506a2e248e9aecd24.zip | |
xdp-tools: disable stack protector for BPF programs
When building xdp-tools with CONFIG_USE_LLVM_HOST=y, on a host that
enabled stack protector by default in Clang, compilation fails with the
following error:
CLANG xdp-dispatcher.o
clang-16: error: ignoring '-fstack-protector-strong' option as it is not currently supported for target 'bpfeb' [-Werror,-Woption-ignored]
Add -fno-stack-protector to BPF_CFLAGS to fix this.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'package/kernel/linux')
0 files changed, 0 insertions, 0 deletions
