Index: third_party/yasm/yasm.gyp |
diff --git a/third_party/yasm/yasm.gyp b/third_party/yasm/yasm.gyp |
index 0c21b8380557353f1e9581cc85c1194f84ebd0a0..6a5e6920bb93e8872d50f65c335d0f1ab5220645 100644 |
--- a/third_party/yasm/yasm.gyp |
+++ b/third_party/yasm/yasm.gyp |
@@ -56,6 +56,10 @@ |
'version_file': 'version.mac', # Generated by genversion. |
'genmodule_source': 'genmodule_outfile.c', |
}, |
+ 'target_defaults': { |
+ # Silence warnings in libc++ builds (C code doesn't need this flag). |
+ 'ldflags!': [ '-stdlib=libc++', ], |
+ }, |
'targets': [ |
{ |
'target_name': 'yasm', |