Include $extra_ldflags in link descriptions.
I overlooked this this morning. Not hugely important, but nice to see. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2303933002 Review-Url: https://codereview.chromium.org/2303933002
This commit is contained in:
parent
0764efe6a9
commit
233eb0adc7
@ -178,7 +178,8 @@ toolchain("gcc_like") {
|
|||||||
]
|
]
|
||||||
output_prefix = "lib"
|
output_prefix = "lib"
|
||||||
default_output_extension = ".so"
|
default_output_extension = ".so"
|
||||||
description = "$compiler_prefix $cxx -shared ... -o {{output}}"
|
description =
|
||||||
|
"$compiler_prefix $cxx -shared ... $extra_ldflags -o {{output}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
tool("link") {
|
tool("link") {
|
||||||
@ -186,7 +187,7 @@ toolchain("gcc_like") {
|
|||||||
outputs = [
|
outputs = [
|
||||||
"{{root_out_dir}}/{{target_output_name}}{{output_extension}}",
|
"{{root_out_dir}}/{{target_output_name}}{{output_extension}}",
|
||||||
]
|
]
|
||||||
description = "$compiler_prefix $cxx ... -o {{output}}"
|
description = "$compiler_prefix $cxx ... $extra_ldflags -o {{output}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
tool("stamp") {
|
tool("stamp") {
|
||||||
|
Loading…
Reference in New Issue
Block a user