Unverified Commit 90f4da91 authored by tomberek's avatar tomberek Committed by GitHub
Browse files

Merge pull request #330227 from ExpidusOS/fix/pkgsllvm-cross

pkgsLLVM: use target platform to fix cross
parents cc470d92 2551138e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ let
      # Bootstrap a cross stdenv using the LLVM toolchain.
      # This is currently not possible when compiling natively,
      # so we don't need to check hostPlatform != buildPlatform.
      crossSystem = stdenv.hostPlatform // {
      crossSystem = stdenv.targetPlatform // {
        useLLVM = true;
        linker = "lld";
      };