diff options
author | mtklein <mtklein@chromium.org> | 2016-09-02 11:24:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-02 11:24:50 -0700 |
commit | 233eb0adc7df47ac38eac20231f4b04e90cb0d8d (patch) | |
tree | 5c1907eac98c403331d7ca2500554aa44bbf6713 /gn/BUILD.gn | |
parent | 0764efe6a9ae65ad83992f614f57ca9db5b1f191 (diff) |
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
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r-- | gn/BUILD.gn | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index f36f04f573..35d33a51eb 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") { |