x264: fix loongarch64-linux build (#402795)

This commit is contained in:
Weijia Wang
2025-04-29 15:07:08 +02:00
committed by GitHub
+1 -1
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
'';