Skip to content

Commit a4fc777

Browse files
sxaaduh95
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 4f90618 commit a4fc777

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
@@ -1368,6 +1368,15 @@
13681368
'ExceptionHandling': 1,
13691369
},
13701370
},
1371+
# Reduce optimisation of one file on AIX - it causes torque
1372+
# to segfault if you build node with "--shared"
1373+
'conditions': [
1374+
['OS=="aix" and node_shared=="true"', {
1375+
'cflags': ['-O1'],
1376+
'cflags!': ['-O3'],
1377+
'sources': ['<(V8_ROOT)/src/torque/implementation-visitor.cc'],
1378+
}],
1379+
],
13711380
}, # torque_base
13721381
{
13731382
'target_name': 'torque_ls_base',

0 commit comments

Comments
 (0)