Index: build/config/win/BUILD.gn |
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn |
index 3f0510873afed3f79c5b82756be7445537b56424..201d45baf5b7f621c011462afbe9d0ba711fb1a8 100644 |
--- a/build/config/win/BUILD.gn |
+++ b/build/config/win/BUILD.gn |
@@ -31,7 +31,7 @@ config("winver") { |
# Linker flags for Windows SDK setup, this is applied only to EXEs and DLLs. |
config("sdk_link") { |
- if (cpu_arch == "x64") { |
+ if (current_cpu == "x64") { |
ldflags = [ "/MACHINE:X64" ] |
lib_dirs = [ |
"$windows_sdk_path\Lib\winv6.3\um\x64", |