dpdk: set NIX_ENFORCE_NO_NATIVE = 0 to fix build

Since 0c6db0ca48 the build would fail
since it relies on sse instructions.

cc @abbradar to be sure this is correct fix
This commit is contained in:
Domen Kožar 2016-05-18 16:25:57 +01:00
parent 3cd63ade16
commit a7ca56428a

View File

@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
RTE_KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
RTE_TARGET = "x86_64-native-linuxapp-gcc";
# we need sse3 instructions to build
NIX_ENFORCE_NO_NATIVE = "0";
enableParallelBuilding = true;
outputs = [ "out" "examples" ];