зеркало из https://github.com/electron/electron.git
fix: ninja build failed on some system (#31887)
This commit is contained in:
Родитель
7ff15038d6
Коммит
38d2ec0cb6
|
@ -17,10 +17,10 @@ def run_node_configure(target_cpu):
|
||||||
# Enabled in Chromium's V8.
|
# Enabled in Chromium's V8.
|
||||||
if target_cpu == 'arm64' or target_cpu == 'x64':
|
if target_cpu == 'arm64' or target_cpu == 'x64':
|
||||||
args += ['--experimental-enable-pointer-compression']
|
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.
|
# Work around "No acceptable ASM compiler found" error on some System,
|
||||||
if sys.platform == 'win32':
|
# it breaks nothing since Electron does not use OpenSSL.
|
||||||
args += ['--openssl-no-asm']
|
args += ['--openssl-no-asm']
|
||||||
subprocess.check_call([sys.executable, configure] + args)
|
subprocess.check_call([sys.executable, configure] + args)
|
||||||
|
|
||||||
def read_node_config_gypi():
|
def read_node_config_gypi():
|
||||||
|
|
Загрузка…
Ссылка в новой задаче