Merge pull request #292167 from rowanG077/yuzu-aarch64
Yuzu: Only compile with -msse4.1 if on x64
This commit is contained in:
commit
6a59b7def4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue