summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-07-24 01:20:02 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-07-25 10:12:18 +0700
commit0f1204bd2be0ca1ea60b70d6d1eb7a11077f6986 (patch)
tree6978870d44854f0c71e88be205e00fe5ec1313ea /pkgs/build-support
parent8813af68212ad4e0366ec792ab078c6c1151025c (diff)
downloadnixpkgs-0f1204bd2be0ca1ea60b70d6d1eb7a11077f6986.tar
nixpkgs-0f1204bd2be0ca1ea60b70d6d1eb7a11077f6986.tar.gz
nixpkgs-0f1204bd2be0ca1ea60b70d6d1eb7a11077f6986.tar.bz2
nixpkgs-0f1204bd2be0ca1ea60b70d6d1eb7a11077f6986.tar.lz
nixpkgs-0f1204bd2be0ca1ea60b70d6d1eb7a11077f6986.tar.xz
nixpkgs-0f1204bd2be0ca1ea60b70d6d1eb7a11077f6986.tar.zst
nixpkgs-0f1204bd2be0ca1ea60b70d6d1eb7a11077f6986.zip
Initial implementation of s390 cross-compile
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/bintools-wrapper/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix
index 0674c88924e..82d17369743 100644
--- a/pkgs/build-support/bintools-wrapper/default.nix
+++ b/pkgs/build-support/bintools-wrapper/default.nix
@@ -209,6 +209,7 @@ stdenv.mkDerivation {
       else if targetPlatform.isVc4 then "vc4"
       else if targetPlatform.isOr1k then "or1k"
       else if targetPlatform.isM68k then "m68k"
+      else if targetPlatform.isS390 then "s390"
       else if targetPlatform.isRiscV then "lriscv"
       else throw "unknown emulation for platform: ${targetPlatform.config}";
     in if targetPlatform.useLLVM or false then ""