git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15962 from abuibrahim/master

pktgen: build with the same CFLAGS as dpdk

commit964665eb1c75e0bb596e08a92a6c872b5ae06a31 authorDomen Kožar <domen@dev.si> dateWed 8 Jun 2016, 11:32 (10 years ago) parent1048d3dff8362a
1 file changed+2
pkgs/os-specific/linux/pktgen/default.nix+2
pkgs/os-specific/linux/pktgen/default.nix+2
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
1616
1717 enableParallelBuilding = true;
1818
19+ NIX_CFLAGS_COMPILE = [ "-march=core2" ];
20+
1921 patchPhase = ''
2022 sed -i -e s:/usr/local:$out:g lib/lua/src/luaconf.h
2123 sed -i -e s:/usr/bin/lscpu:${utillinux}/bin/lscpu:g lib/common/wr_lscpu.h