diff options
author | Michael Dawson <michael_dawson@ca.ibm.com> | 2015-08-12 11:53:33 -0400 |
---|---|---|
committer | Michael Dawson <michael_dawson@ca.ibm.com> | 2015-09-15 13:17:28 -0400 |
commit | 2a17c7f65ecee0e0ed6925b70285c9625913e3b1 (patch) | |
tree | 33f0c2e6adc0df2ed43382465cd3a24232982755 /deps/openssl/openssl.gyp | |
parent | 704dcce75471e083cfbd85c16ee48c634aeedbf5 (diff) | |
download | android-node-v8-2a17c7f65ecee0e0ed6925b70285c9625913e3b1.tar.gz android-node-v8-2a17c7f65ecee0e0ed6925b70285c9625913e3b1.tar.bz2 android-node-v8-2a17c7f65ecee0e0ed6925b70285c9625913e3b1.zip |
build: Updates to enable AIX support
These are the core changes that allow AIX to compile. There
are still some test failures as there are some patches needed for
libuv and npm that we'll need to contribute through those
communities but this set allows node to be built on AIX and
pass most of the core tests
The change in js2c is because AIX does not support $ in
identifier names. See the discussion/agreement in
https://github.com/nodejs/node/issues/2272
PR-URL: https://github.com/nodejs/node/pull/2364
Reviewed-By: Ben Noordhuis <ben@strongloop.com>
Reviewed-By: Rod Vagg <r@va.gg>
Diffstat (limited to 'deps/openssl/openssl.gyp')
-rw-r--r-- | deps/openssl/openssl.gyp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp index 0389abdd14..3a319d91f0 100644 --- a/deps/openssl/openssl.gyp +++ b/deps/openssl/openssl.gyp @@ -43,6 +43,14 @@ ], }, }], + [ 'OS=="aix"', { + # AIX is missing /usr/include/endian.h + 'defines': [ + '__LITTLE_ENDIAN=1234', + '__BIG_ENDIAN=4321', + '__BYTE_ORDER=__BIG_ENDIAN', + '__FLOAT_WORD_ORDER=__BIG_ENDIAN'], + }], [ 'node_byteorder=="big"', { # Define Big Endian 'defines': ['B_ENDIAN'] |