_7zz: disable UASM properly (#353272)

authored by

K900 and committed by
GitHub
6809abdc 0ab7357f

+1
+1
pkgs/tools/archivers/7zz/default.nix
··· 77 "CXX=${stdenv.cc.targetPrefix}c++" 78 ] 79 ++ lib.optionals useUasm [ "MY_ASM=uasm" ] 80 # We need at minimum 10.13 here because of utimensat, however since 81 # we need a bump anyway, let's set the same minimum version as the one in 82 # aarch64-darwin so we don't need additional changes for it
··· 77 "CXX=${stdenv.cc.targetPrefix}c++" 78 ] 79 ++ lib.optionals useUasm [ "MY_ASM=uasm" ] 80 + ++ lib.optionals (!useUasm && stdenv.hostPlatform.isx86) [ "USE_ASM=" ] 81 # We need at minimum 10.13 here because of utimensat, however since 82 # we need a bump anyway, let's set the same minimum version as the one in 83 # aarch64-darwin so we don't need additional changes for it