From 640088aa89bbd08247058c8aa86bdcbc9322a065 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 5 Jan 2020 13:44:55 +0100 Subject: linuxPackages.odp-dpdk: fix build https://hydra.nixos.org/build/109478283 --- pkgs/os-specific/linux/odp-dpdk/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/os-specific') diff --git a/pkgs/os-specific/linux/odp-dpdk/default.nix b/pkgs/os-specific/linux/odp-dpdk/default.nix index 66185de03a16..e1acda120253 100644 --- a/pkgs/os-specific/linux/odp-dpdk/default.nix +++ b/pkgs/os-specific/linux/odp-dpdk/default.nix @@ -34,6 +34,8 @@ in stdenv.mkDerivation rec { jansson ]; + NIX_CFLAGS_COMPILE = [ "-Wno-error=address-of-packed-member" ]; + # for some reason, /build/odp-dpdk-1.22.0.0_DPDK_18.11/lib/.libs ends up in all binaries, # while it should be $out/lib instead. # prepend rpath with the proper location, the /build will get removed during rpath shrinking -- cgit 1.4.1