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") { |