Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: build/config/chromecast/BUILD.gn

Issue 2726013002: [Chromecast] Don't use static c++ libraries for clang builds (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698