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:
authorRobert Mustacchi <rm@joyent.com>2012-06-08 03:21:04 +0400
committerisaacs <i@izs.me>2012-06-08 04:54:56 +0400
commitf62441367fbe23116faf800848d73036ad0b5ffd (patch)
tree0386cab09a63cca6cc3be4b30ebfb815c0ca98b6 /common.gypi
parent0435f9b28c8eefc6a3ccbe6f06d731dc6b3e7796 (diff)
x64 target should always pass -m64
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 8b3e7c2e740..ca0cf9f3e16 100644
--- a/common.gypi
+++ b/common.gypi
@@ -145,6 +145,10 @@
'cflags': [ '-m32' ],
'ldflags': [ '-m32' ],
}],
+ [ 'target_arch=="x64"', {
+ 'cflags': [ '-m64' ],
+ 'ldflags': [ '-m64' ],
+ }],
[ 'OS=="linux"', {
'ldflags': [ '-rdynamic' ],
}],