tetragon: fix BPF compilation with clang 19 (#461758)
This commit is contained in:
@@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
env = {
|
env = {
|
||||||
LOCAL_CLANG = 1;
|
LOCAL_CLANG = 1;
|
||||||
LOCAL_CLANG_FORMAT = 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 = ''
|
buildPhase = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user