build: aix: deoptimize implementation-visitor.cc with --shared

PR-URL: https://github.com/nodejs/node/pull/61550
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Stewart X Addison authored and Antoine du Hamel committed 2026-02-02 14:02:21 +01:00
1 parent 2c39a9234c
commit 0ef99de9da
1 file changed
+9
+9
View File
@@ -1429,6 +1429,15 @@
'ExceptionHandling': 1,
},
},
# Reduce optimisation of one file on AIX - it causes torque
# to segfault if you build node with "--shared"
'conditions': [
['OS=="aix" and node_shared=="true"', {
'cflags': ['-O1'],
'cflags!': ['-O3'],
'sources': ['<(V8_ROOT)/src/torque/implementation-visitor.cc'],
}],
],
}, # torque_base
{
'target_name': 'torque_ls_base',