Only build asm with --non-matching

This commit is contained in:
Luke Street 2024-08-12 18:08:26 -06:00
parent b7077b66b2
commit 5c3892b317
1 changed files with 2 additions and 6 deletions

View File

@ -71,11 +71,6 @@ parser.add_argument(
action="store_true",
help="generate map file(s)",
)
parser.add_argument(
"--no-asm",
action="store_true",
help="don't incorporate .s files from asm directory",
)
parser.add_argument(
"--debug",
action="store_true",
@ -128,7 +123,8 @@ config.non_matching = args.non_matching
config.sjiswrap_path = args.sjiswrap
if not is_windows():
config.wrapper = args.wrapper
if args.no_asm:
# Don't build asm unless we're --non-matching
if not config.non_matching:
config.asm_dir = None
# Tool versions