diff options
author | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-24 13:26:35 +0000 |
---|---|---|
committer | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-24 13:26:35 +0000 |
commit | 8efc2608f86550a7f59d833d698f648f21e9d3b9 (patch) | |
tree | 091ae9da8213625425eedd23c449a198fe810cc4 /third_party/libxml | |
parent | ba53dbf6c2ce674eb77a80382fb11414799404d4 (diff) | |
download | chromium_src-8efc2608f86550a7f59d833d698f648f21e9d3b9.zip chromium_src-8efc2608f86550a7f59d833d698f648f21e9d3b9.tar.gz chromium_src-8efc2608f86550a7f59d833d698f648f21e9d3b9.tar.bz2 |
Start massaging the GYP files for building with clang on Windows
BUG=82385
TBR=cpu
Review URL: https://codereview.chromium.org/146043003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246874 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libxml')
-rw-r--r-- | third_party/libxml/libxml.gyp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp index 6f8b8e1..a9343fd 100644 --- a/third_party/libxml/libxml.gyp +++ b/third_party/libxml/libxml.gyp @@ -233,7 +233,7 @@ }, { # else: OS!="win" 'product_name': 'xml2', }], - ['clang == 1', { + ['clang==1', { 'xcode_settings': { 'WARNING_CFLAGS': [ # libxml passes `const unsigned char*` through `const char*`. @@ -252,6 +252,14 @@ # See http://crbug.com/138571#c8 '-Wno-ignored-attributes', ], + 'msvs_settings': { + 'VCCLCompilerTool': { + 'AdditionalOptions': [ + # VS2012's standard lib doesn't provide nan(). + '/U__STDC_VERSION__', + ], + }, + }, }], ], }], |