summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl.gyp
diff options
context:
space:
mode:
authorMichael Dawson <michael_dawson@ca.ibm.com>2015-07-07 14:15:03 -0400
committerRod Vagg <rod@vagg.org>2015-08-04 11:56:16 -0700
commitb4226e797a43adec8f90c9d3bb4f0c39901acfea (patch)
treee7253738526064f1f38e0b36952b6b7cfc9ebd74 /deps/openssl/openssl.gyp
parente6ab2d92bc15c0f122ddc9310a9d69499008703a (diff)
downloadandroid-node-v8-b4226e797a43adec8f90c9d3bb4f0c39901acfea.tar.gz
android-node-v8-b4226e797a43adec8f90c9d3bb4f0c39901acfea.tar.bz2
android-node-v8-b4226e797a43adec8f90c9d3bb4f0c39901acfea.zip
build: first set of updates to enable PPC support
These are the core changes that allow pLinux BE/LE compile. They don't include all of the changes needed for AIX which will follow once we have pLinux up and running in the builds PR-URL: https://github.com/nodejs/io.js/pull/2124 Reviewed-By: Ben Noordhuis <ben@strongloop.com> Reviewed-By: Johan Bergstrom <bugs@bergstroem.nu>
Diffstat (limited to 'deps/openssl/openssl.gyp')
-rw-r--r--deps/openssl/openssl.gyp8
1 files changed, 7 insertions, 1 deletions
diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp
index d5bb16e5e3..0389abdd14 100644
--- a/deps/openssl/openssl.gyp
+++ b/deps/openssl/openssl.gyp
@@ -43,7 +43,13 @@
],
},
}],
-
+ [ 'node_byteorder=="big"', {
+ # Define Big Endian
+ 'defines': ['B_ENDIAN']
+ }, {
+ # Define Little Endian
+ 'defines':['L_ENDIAN']
+ }],
['openssl_no_asm!=0', {
# Disable asm
'defines': [