mirror of
				https://bitbucket.org/chromiumembedded/cef
				synced 2025-06-05 21:39:12 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			851 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			851 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git base/third_party/double_conversion/BUILD.gn base/third_party/double_conversion/BUILD.gn
 | |
| index 0083efdcd9c85..6f647c31e28aa 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") {
 | |
| diff --git base/win/BUILD.gn base/win/BUILD.gn
 | |
| index eb5dca74bcea3..be10cc59b39c7 100644
 | |
| --- base/win/BUILD.gn
 | |
| +++ base/win/BUILD.gn
 | |
| @@ -33,4 +33,7 @@ static_library("pe_image") {
 | |
|      "pe_image.cc",
 | |
|      "pe_image.h",
 | |
|    ]
 | |
| +
 | |
| +  # Build as C++17 to avoid export of templates that should be inlined.
 | |
| +  cflags_cc = [ "/std:c++17" ]
 | |
|  }
 |