tetragon: fix BPF compilation with clang 19 (#461758)

This commit is contained in:
Ben Siraphob
2025-11-15 01:51:55 +00:00
committed by GitHub

View File

@@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: {
env = {
LOCAL_CLANG = 1;
LOCAL_CLANG_FORMAT = 1;
NIX_CFLAGS_COMPILE = "-fno-stack-protector -Qunused-arguments";
NIX_CFLAGS_COMPILE = "-fno-stack-protector -Qunused-arguments -Wno-default-const-init-var-unsafe";
};
buildPhase = ''