Index: build/nocompile.gni |
diff --git a/build/nocompile.gni b/build/nocompile.gni |
index d425b7931f942bc6fe735fcf6dcbf58dd1d572ee..f93ac94fc8469c8387fb302fd5a569a5070a4a5e 100644 |
--- a/build/nocompile.gni |
+++ b/build/nocompile.gni |
@@ -59,7 +59,7 @@ import("//testing/test.gni") |
declare_args() { |
# TODO(crbug.com/105388): make sure no-compile test is not flaky. |
- enable_nocompile_tests = is_linux && is_clang |
+ enable_nocompile_tests = is_linux && is_clang && host_cpu == target_cpu |
} |
if (enable_nocompile_tests) { |