Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -604,12 +604,12 @@
'cflags': [ '-mminimal-toc' ],
}],
],
'cflags': [ '-m64' ],
'ldflags': [ '-m64' ],
'cflags': [ '-m64', '-mcpu=power9' ],
'ldflags': [ '-m64', '-mcpu=power9' ],
}],
[ 'host_arch=="s390x" and OS=="linux"', {
'cflags': [ '-m64', '-march=z196' ],
'ldflags': [ '-m64', '-march=z196' ],
'cflags': [ '-m64', '-march=z14' ],
'ldflags': [ '-m64', '-march=z14' ],
}],
],
}],
Expand All @@ -629,12 +629,12 @@
'cflags': [ '-mminimal-toc' ],
}],
],
'cflags': [ '-m64' ],
'ldflags': [ '-m64' ],
'cflags': [ '-m64', '-mcpu=power9' ],
'ldflags': [ '-m64', '-mcpu=power9' ],
}],
[ 'target_arch=="s390x" and OS=="linux"', {
'cflags': [ '-m64', '-march=z196' ],
'ldflags': [ '-m64', '-march=z196' ],
'cflags': [ '-m64', '-march=z14' ],
'ldflags': [ '-m64', '-march=z14' ],
}],
],
}],
Expand Down
6 changes: 6 additions & 0 deletions node.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
[ 'OS=="aix" or OS=="os400"', {
'cflags': [ '-mcpu=power9' ],
}],
[ 'OS=="linux" and target_arch=="ppc64"', {
'cflags': [ '-mcpu=power9' ],
}],
[ 'OS=="linux" and target_arch=="s390x"', {
'cflags': [ '-march=z14' ],
}],
[ 'node_enable_d8=="true"', {
'dependencies': [ 'tools/v8_gypfiles/d8.gyp:d8' ],
}],
Expand Down
4 changes: 2 additions & 2 deletions tools/v8_gypfiles/toolchain.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
'V8_TARGET_ARCH_S390_LE_SIM',
],
}, {
'cflags': [ '-march=z196' ],
'cflags': [ '-march=z14' ],
}],
],
}], # s390x
Expand All @@ -326,11 +326,11 @@
],
'cflags': [
'-ffp-contract=off',
'-mcpu=power9',
],
'conditions': [
['OS=="aix" or OS=="os400"', {
# Work around AIX ceil, trunc and round oddities.
'cflags': [ '-mcpu=power9' ],
'conditions': [
['clang==0', {
'cflags': [ '-mfprnd' ],
Expand Down
Loading