mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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>
This commit is contained in:
3
configure
vendored
3
configure
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user