diff options
| author | Rowan Goemans <goemansrowan@gmail.com> | 2024-02-28 23:15:27 +0100 |
|---|---|---|
| committer | Rowan Goemans <goemansrowan@gmail.com> | 2024-03-01 02:44:16 +0100 |
| commit | 46fbd894a87c6b9e64c22d8a4c462b90d1438dcb (patch) | |
| tree | 901ea5143cf4f322d4c50fed0dca9b9bc41e434a | |
| parent | Merge pull request #291749 from r-ryantm/auto-update/renode-unstable (diff) | |
| download | nixpkgs-46fbd894a87c6b9e64c22d8a4c462b90d1438dcb.tar.gz | |
Yuzu: Only compile with -msse4.1 if on x64
| -rw-r--r-- | pkgs/applications/emulators/yuzu/mainline.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/emulators/yuzu/mainline.nix b/pkgs/applications/emulators/yuzu/mainline.nix index 3d89e86340c1..2f735cac0782 100644 --- a/pkgs/applications/emulators/yuzu/mainline.nix +++ b/pkgs/applications/emulators/yuzu/mainline.nix @@ -131,7 +131,7 @@ stdenv.mkDerivation(finalAttrs: { ]; # Does some handrolled SIMD - env.NIX_CFLAGS_COMPILE = "-msse4.1"; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isx86_64 "-msse4.1"; # Fixes vulkan detection. # FIXME: patchelf --add-rpath corrupts the binary for some reason, investigate @@ -174,7 +174,7 @@ stdenv.mkDerivation(finalAttrs: { Using the early-access branch is recommended if you would like to try out experimental features, with a cost of stability. ''; mainProgram = "yuzu"; - platforms = [ "x86_64-linux" ]; + platforms = [ "aarch64-linux" "x86_64-linux" ]; license = with licenses; [ gpl3Plus # Icons |
