x264: fix loongarch64-linux build (#402795)
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user