_7zz: disable UASM properly

Closes: #353119
This commit is contained in:
Emily
2024-11-03 02:23:43 +00:00
committed by Florian Brandes
parent 9395d25757
commit 54990f8a86

View File

@@ -77,6 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
"CXX=${stdenv.cc.targetPrefix}c++" "CXX=${stdenv.cc.targetPrefix}c++"
] ]
++ lib.optionals useUasm [ "MY_ASM=uasm" ] ++ lib.optionals useUasm [ "MY_ASM=uasm" ]
++ lib.optionals (!useUasm && stdenv.hostPlatform.isx86) [ "USE_ASM=" ]
# We need at minimum 10.13 here because of utimensat, however since # We need at minimum 10.13 here because of utimensat, however since
# we need a bump anyway, let's set the same minimum version as the one in # we need a bump anyway, let's set the same minimum version as the one in
# aarch64-darwin so we don't need additional changes for it # aarch64-darwin so we don't need additional changes for it