_7zz: disable UASM properly

Closes: #353119
This commit is contained in:
Emily 2024-11-03 02:23:43 +00:00
parent 70c41d37ec
commit 2f7b6eba4c

View File

@ -77,6 +77,7 @@ stdenv.mkDerivation (finalAttrs: {
"CXX=${stdenv.cc.targetPrefix}c++"
]
++ 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 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