From 72b6de3b3338aa4018a8d89d3fca6b95c8509c51 Mon Sep 17 00:00:00 2001 From: Tristan Ross Date: Fri, 24 May 2024 18:16:15 -0700 Subject: [PATCH] tbb: fix cross compiling for i686 --- pkgs/development/libraries/tbb/2020_3.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/tbb/2020_3.nix b/pkgs/development/libraries/tbb/2020_3.nix index 55bb9849d919..aa526591eb9e 100644 --- a/pkgs/development/libraries/tbb/2020_3.nix +++ b/pkgs/development/libraries/tbb/2020_3.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation rec { ] ++ (lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) (if stdenv.hostPlatform.isAarch64 then "arch=arm64" else if stdenv.hostPlatform.isx86_64 then "arch=intel64" + else if stdenv.hostPlatform.isi686 then "arch=ia32" else throw "Unsupported cross architecture")); enableParallelBuilding = true;