Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 6dea09360d8d0889c2dc7a47e9bc86c42573435b..6bf6798a12fa5647cc9e40f889de4d85ae6c5c52 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -117,7 +117,7 @@ config("compiler") { |
} |
if (arm_use_thumb) { |
cflags += [ "-mthumb" ] |
- if (is_android) { |
+ if (is_android && !is_clang) { # Clang doesn't support this option. |
cflags += [ "-mthumb-interwork" ] |
} |
} |