Permalink
Browse files

x64 target should always pass -m64

  • Loading branch information...
rmustacc authored and isaacs committed Jun 7, 2012
1 parent 0435f9b commit f62441367fbe23116faf800848d73036ad0b5ffd
Showing with 4 additions and 0 deletions.
  1. +4 −0 common.gypi
View
@@ -145,6 +145,10 @@
'cflags': [ '-m32' ],
'ldflags': [ '-m32' ],
}],
+ [ 'target_arch=="x64"', {
+ 'cflags': [ '-m64' ],
+ 'ldflags': [ '-m64' ],
+ }],
[ 'OS=="linux"', {
'ldflags': [ '-rdynamic' ],
}],

0 comments on commit f624413

Please sign in to comment.