Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4137)

Unified Diff: build/toolchain/win/BUILD.gn

Issue 1957523005: clang/win/gn: Actually build 32-bit .obj files in 32-bit builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/win/BUILD.gn
diff --git a/build/toolchain/win/BUILD.gn b/build/toolchain/win/BUILD.gn
index beee0781d673a1ae2e453d07df65371339009c99..303ada556da84ceacbc2d261999ad35508a0fc51 100644
--- a/build/toolchain/win/BUILD.gn
+++ b/build/toolchain/win/BUILD.gn
@@ -282,7 +282,7 @@ if (target_cpu == "x86") {
toolchain_cpu = "x86"
prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin",
root_build_dir)
- cl = "${goma_prefix}$prefix/${clang_cl}"
+ cl = "${goma_prefix}$prefix/${clang_cl} -m32"
Dirk Pranke 2016/05/06 15:53:58 Shouldn't this already be being set here: https:/
Nico 2016/05/06 16:21:33 Oh, great point! It seems to not always have an ef
Nico 2016/05/06 20:10:21 mini_installer does configs -= [ "//build/confi
toolchain_os = "win"
is_clang = true
}
@@ -321,7 +321,7 @@ template("win_x64_toolchains") {
toolchain_cpu = "x64"
prefix = rebase_path("//third_party/llvm-build/Release+Asserts/bin",
root_build_dir)
- cl = "${goma_prefix}$prefix/${clang_cl}"
+ cl = "${goma_prefix}$prefix/${clang_cl} -m64"
toolchain_os = "win"
is_clang = true
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698