mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pktgen: build with the same CFLAGS as dpdk
This commit is contained in:
parent
30f2dd5f55
commit
ff8362aeb4
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-march=core2" ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e s:/usr/local:$out:g lib/lua/src/luaconf.h
|
||||
sed -i -e s:/usr/bin/lscpu:${utillinux}/bin/lscpu:g lib/common/wr_lscpu.h
|
||||
|
|
Loading…
Reference in a new issue