diff options
Diffstat (limited to 'chromium/build/config/win/BUILD.gn')
-rw-r--r-- | chromium/build/config/win/BUILD.gn | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/build/config/win/BUILD.gn b/chromium/build/config/win/BUILD.gn index 7b44f0e4372..c0758b654af 100644 --- a/chromium/build/config/win/BUILD.gn +++ b/chromium/build/config/win/BUILD.gn @@ -82,6 +82,10 @@ config("compiler") { # Don't look for includes in %INCLUDE%. cflags += [ "/X" ] + # Required to make the 19041 SDK compatible with clang-cl. + # See https://crbug.com/1089996 issue #2 for details. + cflags += [ "/D__WRL_ENABLE_FUNCTION_STATICS__" ] + # Tell clang which version of MSVC to emulate. cflags += [ "-fmsc-version=1916" ] @@ -121,9 +125,6 @@ config("compiler") { if (use_clang_diagnostics_format) { cflags += [ "/clang:-fdiagnostics-format=clang" ] } - - # Clang runtime libraries, such as the sanitizer runtimes, live here. - lib_dirs = [ "$clang_base_path/lib/clang/$clang_version/lib/windows" ] } if (use_lld && !use_thin_lto && (is_clang || !use_goma)) { |