termux-packages/packages/nodejs/tools-v8_gypfiles-v8.gyp.patch

26 lines
1.4 KiB
Diff
Raw Normal View History

2022-03-11 16:03:32 +01:00
diff '--color=auto' -uNr node-v17.7.1.orig/tools/v8_gypfiles/v8.gyp node-v17.7.1/tools/v8_gypfiles/v8.gyp
--- node-v17.7.1.orig/tools/v8_gypfiles/v8.gyp 2022-03-11 20:20:49.617755314 +0530
+++ node-v17.7.1/tools/v8_gypfiles/v8.gyp 2022-03-11 20:27:25.317755163 +0530
@@ -1092,6 +1092,7 @@
2019-08-25 18:22:08 +02:00
'<(V8_ROOT)/src/base/platform/platform-posix.h',
'<(V8_ROOT)/src/base/platform/platform-posix-time.cc',
'<(V8_ROOT)/src/base/platform/platform-posix-time.h',
+ '<(V8_ROOT)/src/base/platform/platform-linux.h',
2019-08-25 18:22:08 +02:00
],
'link_settings': {
'target_conditions': [
2022-03-11 16:03:32 +01:00
@@ -1581,7 +1582,12 @@
2021-10-28 11:36:35 +02:00
}],
['clang or OS!="win"', {
'conditions': [
- ['_toolset == "host" and host_arch == "x64" or _toolset == "target" and target_arch=="x64"', {
+ ['_toolset == "host" and host_arch == "x64" and (target_arch == "arm" or target_arch == "ia32")', {
+ 'sources': [
+ '<(V8_ROOT)/src/heap/base/asm/ia32/push_registers_asm.cc',
+ ],
+ }],
+ ['_toolset == "host" and host_arch == "x64" and (target_arch == "x64" or target_arch == "arm64") or (_toolset == "target" and target_arch == "x64")', {
'sources': [
'<(V8_ROOT)/src/heap/base/asm/x64/push_registers_asm.cc',
],