Skip to content

Commit ff7cd6a

Browse files
committed
tools: fix riscv64 build failed
1 parent 22cb99d commit ff7cd6a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tools/v8_gypfiles/v8.gyp

+12
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,18 @@
11501150
'sources': [
11511151
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")',
11521152
],
1153+
'conditions': [
1154+
['v8_enable_webassembly==1', {
1155+
'conditions': [
1156+
['(_toolset=="host" and host_arch=="arm64" or _toolset=="target" and target_arch=="arm64") or (_toolset=="host" and host_arch=="loong64" or _toolset=="target" and target_arch=="loong64") or (_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64")', {
1157+
'sources': [
1158+
'<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc',
1159+
'<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc',
1160+
],
1161+
}],
1162+
],
1163+
}],
1164+
],
11531165
}],
11541166
['v8_target_arch=="loong64"', {
11551167
'sources': [

0 commit comments

Comments
 (0)