summaryrefslogtreecommitdiffstats
path: root/third_party/yasm
diff options
context:
space:
mode:
authorearthdok <earthdok@chromium.org>2015-03-09 19:41:53 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-10 02:42:40 +0000
commitaf3de27f5c64272c769398816f26a4f49c128d19 (patch)
treef03fbe0d32466e272fddaf0286df8750fe8209f9 /third_party/yasm
parent3cc9f0ac660fe93634f56986681aee6ae6b38988 (diff)
downloadchromium_src-af3de27f5c64272c769398816f26a4f49c128d19.zip
chromium_src-af3de27f5c64272c769398816f26a4f49c128d19.tar.gz
chromium_src-af3de27f5c64272c769398816f26a4f49c128d19.tar.bz2
libc++: Suppress a compiler warning when building yasm.
BUG=358678 R=hclam@chromium.org Review URL: https://codereview.chromium.org/983143004 Cr-Commit-Position: refs/heads/master@{#319825}
Diffstat (limited to 'third_party/yasm')
-rw-r--r--third_party/yasm/yasm.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/yasm/yasm.gyp b/third_party/yasm/yasm.gyp
index 0c21b83..6a5e692 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',