Index: build/standalone.gypi |
diff --git a/build/standalone.gypi b/build/standalone.gypi |
index 788b96e01b7e06ef54547daeac4d79770c68c7d1..3b870601305f6ac82b55a583e705c8180f40e1d0 100644 |
--- a/build/standalone.gypi |
+++ b/build/standalone.gypi |
@@ -787,6 +787,12 @@ |
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', |
'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x |
}, |
+ 'conditions': [ |
+ ['v8_target_arch=="x64" or v8_target_arch=="arm64" \ |
+ or v8_target_arch=="mips64el"', { |
+ 'xcode_settings': {'WARNING_CFLAGS': ['-Wshorten-64-to-32']}, |
+ }], |
+ ], |
}], |
], |
'target_conditions': [ |