From f62441367fbe23116faf800848d73036ad0b5ffd Mon Sep 17 00:00:00 2001 From: Robert Mustacchi Date: Thu, 7 Jun 2012 23:21:04 +0000 Subject: [PATCH] x64 target should always pass -m64 --- common.gypi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common.gypi b/common.gypi index 8b3e7c2e74..ca0cf9f3e1 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' ], }],