Index: build/config/chromecast/BUILD.gn |
diff --git a/build/config/chromecast/BUILD.gn b/build/config/chromecast/BUILD.gn |
index 811582f162f37311f93b68ccdd08129822f65a7b..60cb52cc4b88d7ffd3c91c239a1e1607c2803b75 100644 |
--- a/build/config/chromecast/BUILD.gn |
+++ b/build/config/chromecast/BUILD.gn |
@@ -49,7 +49,7 @@ config("ldconfig") { |
config("executable_config") { |
configs = [ ":ldconfig" ] |
- if (current_cpu == "arm") { |
+ if (!is_clang && current_cpu == "arm") { |
ldflags = [ |
# Export stdlibc++ and libgcc symbols to force shlibs to refer to these |
# symbols from the executable. |
@@ -75,7 +75,7 @@ config("executable_config") { |
config("shared_library_config") { |
configs = [ ":ldconfig" ] |
- if (current_cpu == "arm") { |
+ if (!is_clang && current_cpu == "arm") { |
configs += [ ":static_config" ] |
} |
} |