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

Unified Diff: gn/BUILD.gn

Issue 2303933002: Include $extra_ldflags in link descriptions. (Closed)
Patch Set: Created 4 years, 3 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: gn/BUILD.gn
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index f36f04f573e145108fdae914a393cfa650a9206e..35d33a51eb9d92e32cadb72d38f27e546b29332c 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -178,7 +178,8 @@ toolchain("gcc_like") {
]
output_prefix = "lib"
default_output_extension = ".so"
- description = "$compiler_prefix $cxx -shared ... -o {{output}}"
+ description =
+ "$compiler_prefix $cxx -shared ... $extra_ldflags -o {{output}}"
}
tool("link") {
@@ -186,7 +187,7 @@ toolchain("gcc_like") {
outputs = [
"{{root_out_dir}}/{{target_output_name}}{{output_extension}}",
]
- description = "$compiler_prefix $cxx ... -o {{output}}"
+ description = "$compiler_prefix $cxx ... $extra_ldflags -o {{output}}"
}
tool("stamp") {
« 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