git.iko.soy/typeable/nixpkgs
on master help sign in
pktgen: build with the same CFLAGS as dpdk
commitff8362aeb48d9ea54a9f21c38f53e641d75e1d5e authorRuslan Babayev <ruslan@babayev.com> dateFri 3 Jun 2016, 10:57 (10 years ago) parent30f2dd5
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