build: add support for 64-bit AIX
Pass -Dtarget_arch=ppc64 to gyp_uv.py to activate. Refs: https://github.com/nodejs/node/pull/20129 Refs: https://github.com/libuv/libuv/pull/1795 PR-URL: https://github.com/libuv/libuv/pull/1807 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
0aa6de6deb
commit
4f77a23615
@ -134,7 +134,7 @@
|
|||||||
}]
|
}]
|
||||||
]
|
]
|
||||||
}],
|
}],
|
||||||
['OS in "freebsd dragonflybsd linux openbsd solaris android"', {
|
['OS in "freebsd dragonflybsd linux openbsd solaris android aix"', {
|
||||||
'cflags': [ '-Wall' ],
|
'cflags': [ '-Wall' ],
|
||||||
'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
|
'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
|
||||||
'target_conditions': [
|
'target_conditions': [
|
||||||
@ -162,6 +162,10 @@
|
|||||||
'cflags': [ '-pthread' ],
|
'cflags': [ '-pthread' ],
|
||||||
'ldflags': [ '-pthread' ],
|
'ldflags': [ '-pthread' ],
|
||||||
}],
|
}],
|
||||||
|
[ 'OS=="aix" and target_arch=="ppc64"', {
|
||||||
|
'cflags': [ '-maix64' ],
|
||||||
|
'ldflags': [ '-maix64' ],
|
||||||
|
}],
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['OS=="mac"', {
|
['OS=="mac"', {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user