Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 0aee2668956ba5fb7907a1cf67114b3f3cc3b733..6ca1cda7b544228f933bb9e8a6a2b4b149d0fd0a 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -170,7 +170,7 @@ group("root") { |
deps += [ "//rlz:rlz_lib" ] |
} |
- if (cpu_arch == "x86" || cpu_arch == "x64") { |
+ if (current_cpu == "x86" || current_cpu == "x64") { |
# YASM is x86/x64 only. |
deps += [ "//third_party/yasm($host_toolchain)" ] |
} |