Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi8
1 files changed, 8 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 4c1b90b29ad..a84ff139690 100644
--- a/common.gypi
+++ b/common.gypi
@@ -223,6 +223,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' ],