x264: fix loongarch64-linux build

This commit is contained in:
fzdslr-nw 2025-04-29 10:40:50 +00:00
parent d35f5a8818
commit 5a095ca9a2

View file

@ -41,7 +41,7 @@ stdenv.mkDerivation {
# `AS' is set to the binutils assembler, but we need nasm
unset AS
''
+ lib.optionalString stdenv.hostPlatform.isAarch ''
+ lib.optionalString (stdenv.hostPlatform.isAarch || stdenv.hostPlatform.isLoongArch64) ''
export AS=$CC
'';