diff --git a/configure.py b/configure.py index 9317bb5b725807..7e9d0c9d168c0a 100755 --- a/configure.py +++ b/configure.py @@ -757,7 +757,7 @@ def get_gas_version(cc): # quite prepared to go that far yet. def check_compiler(o): if sys.platform == 'win32': - if not options.openssl_no_asm: + if not options.openssl_no_asm and options.dest_cpu in ('x86', 'x64'): nasm_version = get_nasm_version('nasm') o['variables']['nasm_version'] = nasm_version if nasm_version == 0: