Index: chrome/installer/mini_installer/BUILD.gn |
diff --git a/chrome/installer/mini_installer/BUILD.gn b/chrome/installer/mini_installer/BUILD.gn |
index a48f94ac7943648e5085d5f4164c1a87721e8853..4eecab413281aa296d2a566541b7a4ac60a6aace 100644 |
--- a/chrome/installer/mini_installer/BUILD.gn |
+++ b/chrome/installer/mini_installer/BUILD.gn |
@@ -165,13 +165,16 @@ executable("mini_installer") { |
] |
# This target is special so we manually override most linker flags and |
- # specify our own to keep the size down. |
+ # specify our own to keep the size down. Also make sure that we don't use |
+ # WPO as it's not supported by the mini installer. |
configs -= [ |
+ "//build/config/compiler:default_optimization", |
"//build/config:executable_config", |
"//build/config/win:console", |
] |
configs += [ |
":mini_installer_compiler_flags", |
+ "//build/config/compiler:optimize_no_wpo", |
"//build/config/win:sdk_link", |
"//build/config/win:windowed", |
] |