mirror of https://github.com/nodejs/node.git
build: check without_ssl in warn openssl_no_asm
Currently when configuring --without-ssl the following warning is displayed: WARNING: openssl_no_asm is enabled due to missed or old assembler. Please refer BUILDING.md This commit adds a check of options.without_ssl to avoid this warning when --without-ssl is used. PR-URL: https://github.com/nodejs/node/pull/19934 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>pull/20022/merge
parent
bd0a690632
commit
89cd74908e
|
@ -1101,7 +1101,8 @@ def configure_openssl(o):
|
|||
('llvm_version' in variables and variables['llvm_version'] >= '3.3') or \
|
||||
('nasm_version' in variables and variables['nasm_version'] >= '2.10')
|
||||
|
||||
if not openssl110_asm_supported and variables['openssl_no_asm'] == 0:
|
||||
if not options.without_ssl and not openssl110_asm_supported and \
|
||||
variables['openssl_no_asm'] == 0:
|
||||
warn('''openssl_no_asm is enabled due to missed or old assembler.
|
||||
Please refer BUILDING.md''')
|
||||
variables['openssl_no_asm'] = 1
|
||||
|
|
Loading…
Reference in New Issue