diff options
author | squalus <squalus@squalus.net> | 2022-10-24 23:40:01 -0700 |
---|---|---|
committer | squalus <squalus@squalus.net> | 2022-10-24 23:47:27 -0700 |
commit | 4b07aeae16811bcb6ab2cef67133180bcb30ed67 (patch) | |
tree | 1f027868012b2909c1d37c1b1c06f552e216d323 /pkgs/development/compilers/llvm/14/default.nix | |
parent | e0e0c4dbd95c997cf1124b4dbeb172d530ade7f7 (diff) |
openmp: fix cross compile
Diffstat (limited to 'pkgs/development/compilers/llvm/14/default.nix')
-rw-r--r-- | pkgs/development/compilers/llvm/14/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/llvm/14/default.nix b/pkgs/development/compilers/llvm/14/default.nix index 3a1ba402ef671..fa1cdb88ee0ab 100644 --- a/pkgs/development/compilers/llvm/14/default.nix +++ b/pkgs/development/compilers/llvm/14/default.nix @@ -3,6 +3,7 @@ , libxml2, python3, isl, fetchFromGitHub, overrideCC, wrapCCWith, wrapBintoolsWith , buildLlvmTools # tools, but from the previous stage, for cross , targetLlvmLibraries # libraries, but from the next stage, for cross +, targetLlvm # This is the default binutils, but with *this* version of LLD rather # than the default LLVM verion's, if LLD is the choice. We use these for # the `useLLVM` bootstrapping below. @@ -273,7 +274,7 @@ let }; openmp = callPackage ./openmp { - inherit llvm_meta; + inherit llvm_meta targetLlvm; }; }); |