Skip to content

Commit

Permalink
fix: ninja build failed on some system (#31941)
Browse files Browse the repository at this point in the history
Co-authored-by: Black-Hole1 <158blackhole@gmail.com>
  • Loading branch information
trop[bot] and BlackHole1 committed Nov 22, 2021
1 parent d2b7582 commit 20fc69e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script/generate-config-gypi.py
Expand Up @@ -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():
Expand Down

0 comments on commit 20fc69e

Please sign in to comment.