diff options
author | Michael Dawson <michael_dawson@ca.ibm.com> | 2015-07-07 14:15:03 -0400 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-08-04 11:56:16 -0700 |
commit | b4226e797a43adec8f90c9d3bb4f0c39901acfea (patch) | |
tree | e7253738526064f1f38e0b36952b6b7cfc9ebd74 /common.gypi | |
parent | e6ab2d92bc15c0f122ddc9310a9d69499008703a (diff) | |
download | android-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 'common.gypi')
-rw-r--r-- | common.gypi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi index 871b9b4091..7972c2d60a 100644 --- a/common.gypi +++ b/common.gypi @@ -225,6 +225,14 @@ 'cflags': [ '-m64' ], 'ldflags': [ '-m64' ], }], + [ 'target_arch=="ppc"', { + 'cflags': [ '-m32' ], + 'ldflags': [ '-m32' ], + }], + [ 'target_arch=="ppc64"', { + 'cflags': [ '-m64', '-mminimal-toc' ], + 'ldflags': [ '-m64' ], + }], [ 'OS=="solaris"', { 'cflags': [ '-pthreads' ], 'ldflags': [ '-pthreads' ], |