mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Merge pull request #15962 from abuibrahim/master
pktgen: build with the same CFLAGS as dpdk
This commit is contained in:
commit
964665eb1c
@ -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 New Issue
Block a user