Skip to content

Commit 6923e09

Browse files
sxajuanarbol
authored andcommitted
build: aix: deoptimize implementation-visitor.cc with --shared
PR-URL: #61550 Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 5c7dd69 commit 6923e09

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tools/v8_gypfiles/v8.gyp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,6 +1413,15 @@
14131413
'ExceptionHandling': 1,
14141414
},
14151415
},
1416+
# Reduce optimisation of one file on AIX - it causes torque
1417+
# to segfault if you build node with "--shared"
1418+
'conditions': [
1419+
['OS=="aix" and node_shared=="true"', {
1420+
'cflags': ['-O1'],
1421+
'cflags!': ['-O3'],
1422+
'sources': ['<(V8_ROOT)/src/torque/implementation-visitor.cc'],
1423+
}],
1424+
],
14161425
}, # torque_base
14171426
{
14181427
'target_name': 'torque_ls_base',

0 commit comments

Comments
 (0)