diff --git a/configure.py b/configure.py index 0ad986ab82e29f..586dfdb2817013 100755 --- a/configure.py +++ b/configure.py @@ -742,7 +742,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: