duckstation: Fix build on aarch64-linux (#339369)

This commit is contained in:
Aleksana 2024-09-04 11:21:42 +08:00 committed by GitHub
commit bcda88d04d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,6 +76,9 @@ stdenv.mkDerivation (finalAttrs: {
substituteAllInPlace src/scmversion/gen_scmversion.sh
'';
# error: cannot convert 'int16x8_t' to '__Int32x4_t'
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isAarch64 "-flax-vector-conversions";
installCheckPhase = ''
runHook preCheck