mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
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:
parent
3cd63ade16
commit
a7ca56428a
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user