mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tools: include toolchain.gypi in abseil.gyp
This sets proper SIMD build flags for abseil on ia32. PR-URL: https://github.com/nodejs/node/pull/58678 Fixes: https://github.com/nodejs/node/issues/58569 Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{
|
||||
'includes': ['toolchain.gypi'],
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'abseil',
|
||||
|
||||
@@ -40,10 +40,16 @@
|
||||
'ubsan_vptr%': 0,
|
||||
'has_valgrind%': 0,
|
||||
'coverage%': 0,
|
||||
|
||||
# Toolchain settings.
|
||||
'v8_target_arch%': '<(target_arch)',
|
||||
'v8_host_byteorder%': '<!("<(python)" -c "import sys; print(sys.byteorder)")',
|
||||
'force_dynamic_crt%': 0,
|
||||
|
||||
# Enable control-flow integrity features, such as pointer authentication
|
||||
# for ARM64.
|
||||
'v8_control_flow_integrity%': 0,
|
||||
|
||||
# Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP
|
||||
# registers d16-d31 in the generated code, both in the snapshot and for the
|
||||
# ARM target. Leaving the default value of 'false' will avoid the use of
|
||||
@@ -98,10 +104,6 @@
|
||||
'gcmole%': 0,
|
||||
},
|
||||
'target_defaults': {
|
||||
'include_dirs': [
|
||||
'<(V8_ROOT)',
|
||||
'<(V8_ROOT)/include',
|
||||
],
|
||||
'cflags!': ['-Wall', '-Wextra'],
|
||||
'conditions': [
|
||||
['clang==0 and OS!="win"', {
|
||||
|
||||
@@ -36,6 +36,10 @@
|
||||
},
|
||||
'includes': ['toolchain.gypi', 'features.gypi'],
|
||||
'target_defaults': {
|
||||
'include_dirs': [
|
||||
'<(V8_ROOT)',
|
||||
'<(V8_ROOT)/include',
|
||||
],
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'AdditionalOptions': ['/utf-8']
|
||||
|
||||
Reference in New Issue
Block a user