summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2012-06-07 23:21:04 +0000
committerisaacs <i@izs.me>2012-06-07 17:54:56 -0700
commitf62441367fbe23116faf800848d73036ad0b5ffd (patch)
tree0386cab09a63cca6cc3be4b30ebfb815c0ca98b6
parent0435f9b28c8eefc6a3ccbe6f06d731dc6b3e7796 (diff)
downloadnodejs-f62441367fbe23116faf800848d73036ad0b5ffd.tar.gz
nodejs-f62441367fbe23116faf800848d73036ad0b5ffd.tar.bz2
nodejs-f62441367fbe23116faf800848d73036ad0b5ffd.zip
x64 target should always pass -m64
-rw-r--r--common.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 8b3e7c2e7..ca0cf9f3e 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' ],
}],