Skip to content

Commit 0ef99de

Browse files
sxaaduh95
authored andcommitted
build: aix: deoptimize implementation-visitor.cc with --shared
PR-URL: #61550 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 2c39a92 commit 0ef99de

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/v8_gypfiles/v8.gyp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,6 +1429,15 @@
14291429
'ExceptionHandling': 1,
14301430
},
14311431
},
1432+
# Reduce optimisation of one file on AIX - it causes torque
1433+
# to segfault if you build node with "--shared"
1434+
'conditions': [
1435+
['OS=="aix" and node_shared=="true"', {
1436+
'cflags': ['-O1'],
1437+
'cflags!': ['-O3'],
1438+
'sources': ['<(V8_ROOT)/src/torque/implementation-visitor.cc'],
1439+
}],
1440+
],
14321441
}, # torque_base
14331442
{
14341443
'target_name': 'torque_ls_base',

0 commit comments

Comments
 (0)