17 lines
515 B
Diff
17 lines
515 B
Diff
diff --git base/third_party/double_conversion/BUILD.gn base/third_party/double_conversion/BUILD.gn
|
|
index 0083efdcd9c8..6f647c31e28a 100644
|
|
--- base/third_party/double_conversion/BUILD.gn
|
|
+++ base/third_party/double_conversion/BUILD.gn
|
|
@@ -9,6 +9,11 @@ config("config") {
|
|
"-Wno-unused-const-variable",
|
|
"-Wno-unused-function",
|
|
]
|
|
+
|
|
+ # Build as C++17 to avoid export of templates that should be inlined.
|
|
+ if (is_win) {
|
|
+ cflags_cc = [ "/std:c++17" ]
|
|
+ }
|
|
}
|
|
|
|
static_library("double_conversion") {
|