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

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

Issue 864193002: Disable -Wl,-z,defs on mipsel to suppress ffmpeg error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index b5c4a9025fcccab1a8e8c553e01d611782393d26..68a50c3da9d9fb362c747a863ce88a5b41d94ea7 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -301,8 +301,13 @@ config("compiler") {
"-Wl,-z,noexecstack",
"-Wl,-z,now",
"-Wl,-z,relro",
- "-Wl,-z,defs",
]
+
+ # TODO(zork): The mipsel build is broken in ffmpeg, guard this flag for now
+ # to hide the breakage. https://crbug.com/450771
+ if (cpu_arch == "mipsel") {
Nico 2015/01/22 02:05:25 !=, not ==, no? Also, this probably conflicts with
+ ldflags += [ "-Wl,-z,defs" ]
+ }
}
# Linux-specific compiler flags setup.
« 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