diff --git a/pkgs/os-specific/linux/dpdk/default.nix b/pkgs/os-specific/linux/dpdk/default.nix index 15cfd84dd51f..479188b365f2 100644 --- a/pkgs/os-specific/linux/dpdk/default.nix +++ b/pkgs/os-specific/linux/dpdk/default.nix @@ -14,8 +14,8 @@ 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"; + # we need ssse3 instructions to build + NIX_CFLAGS_COMPILE = [ "-march=core2" ]; enableParallelBuilding = true; outputs = [ "out" "examples" ];