Skip to content

Commit

Permalink
x64 target should always pass -m64
Browse files Browse the repository at this point in the history
  • Loading branch information
rmustacc authored and isaacs committed Jun 8, 2012
1 parent 0435f9b commit f624413
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common.gypi
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@
'cflags': [ '-m32' ], 'cflags': [ '-m32' ],
'ldflags': [ '-m32' ], 'ldflags': [ '-m32' ],
}], }],
[ 'target_arch=="x64"', {
'cflags': [ '-m64' ],
'ldflags': [ '-m64' ],
}],
[ 'OS=="linux"', { [ 'OS=="linux"', {
'ldflags': [ '-rdynamic' ], 'ldflags': [ '-rdynamic' ],
}], }],
Expand Down

0 comments on commit f624413

Please sign in to comment.