Index: build/toolchain.gypi |
diff --git a/build/toolchain.gypi b/build/toolchain.gypi |
index 5783529abcf36a4eb34bc30d73e998547432e1d0..4a70d6f7a719cdc6c39859996ed1a4f48cbbccca 100644 |
--- a/build/toolchain.gypi |
+++ b/build/toolchain.gypi |
@@ -428,8 +428,12 @@ |
'variables': { |
'm64flag': '<!(($(echo ${CXX_target:-<(CXX)}) -m64 -E - > /dev/null 2>&1 < /dev/null) && echo "-m64" || true)', |
}, |
- 'cflags': [ '<(m64flag)' ], |
- 'ldflags': [ '<(m64flag)' ], |
+ 'conditions': [ |
+ ['((OS!="android" and OS!="qnx") or clang==1)', { |
+ 'cflags': [ '<(m64flag)' ], |
+ 'ldflags': [ '<(m64flag)' ], |
+ }], |
+ ], |
}] |
], |
}], |