From af3de27f5c64272c769398816f26a4f49c128d19 Mon Sep 17 00:00:00 2001 From: earthdok Date: Mon, 9 Mar 2015 19:41:53 -0700 Subject: 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} --- third_party/yasm/yasm.gyp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'third_party/yasm') 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', -- cgit v1.1