Merge pull request #273446 from wegank/tracebox-stdenv

tracebox: fix build with gcc 11+
This commit is contained in:
Weijia Wang 2023-12-21 05:28:33 +01:00 committed by GitHub
commit 91991c44cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -37,8 +37,11 @@ stdenv.mkDerivation rec {
"--with-libpcap=yes"
];
PCAPLIB="-lpcap";
LUA_LIB="-llua";
env = {
CXXFLAGS = "-std=c++14";
LUA_LIB = "-llua";
PCAPLIB = "-lpcap";
};
enableParallelBuilding = true;

View file

@ -14114,7 +14114,7 @@ with pkgs;
traceroute = callPackage ../tools/networking/traceroute { };
tracebox = callPackage ../tools/networking/tracebox { stdenv = gcc10StdenvCompat; };
tracebox = callPackage ../tools/networking/tracebox { };
tracee = callPackage ../tools/security/tracee {
clang = clang_14;