duckstation: Fix build on aarch64-linux
/build/source/src/util/audio_stream.cpp: In function 'void S16ChunkToFloat(const s16*, float*, u32)': /build/source/src/util/audio_stream.cpp:575:47: note: use '-flax-vector-conversions' to permit conversions between vectors with differing element types or numbers of subparts /build/source/src/util/audio_stream.cpp:575:57: error: cannot convert 'int16x8_t' to '__Int32x4_t'
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user