From df46cdd685bdd07272fefd0dc58c8cc9bd95437a Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Mon, 22 Nov 2021 16:36:15 +0900 Subject: [PATCH] fix: ninja build failed on some system (#31944) Co-authored-by: Black-Hole1 <158blackhole@gmail.com> --- script/generate-config-gypi.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/generate-config-gypi.py b/script/generate-config-gypi.py index c4e3d9815932a..f20360f8133d5 100755 --- a/script/generate-config-gypi.py +++ b/script/generate-config-gypi.py @@ -17,10 +17,10 @@ def run_node_configure(target_cpu): # Enabled in Chromium's V8. if target_cpu == 'arm64' or target_cpu == 'x64': args += ['--experimental-enable-pointer-compression'] - # Work around "No acceptable ASM compiler found" error on some Windows - # machines, it breaks nothing since Electron does not use OpenSSL. - if sys.platform == 'win32': - args += ['--openssl-no-asm'] + + # Work around "No acceptable ASM compiler found" error on some System, + # it breaks nothing since Electron does not use OpenSSL. + args += ['--openssl-no-asm'] subprocess.check_call([sys.executable, configure] + args) def read_node_config_gypi():