Index: build/toolchain/gcc_toolchain.gni |
diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni |
index cec9b08d89ac06a1b92580172c5e3e86cffc5ffa..5cca299ec25683aaa7665fcb8f2616b6eb4e65d7 100644 |
--- a/build/toolchain/gcc_toolchain.gni |
+++ b/build/toolchain/gcc_toolchain.gni |
@@ -138,7 +138,7 @@ template("gcc_toolchain") { |
temporary_tocname = sofile + ".tmp" |
link_command = |
"$ld -shared {{ldflags}} -o $sofile -Wl,-soname=$soname @$rspfile" |
- toc_command = "{ readelf -d $sofile | grep SONAME ; nm -gD -f p $soname | cut -f1-2 -d' '; } > $temporary_tocname" |
+ toc_command = "{ readelf -d $sofile | grep SONAME ; nm -gD -f p $sofile | cut -f1-2 -d' '; } > $temporary_tocname" |
replace_command = "if ! cmp -s $temporary_tocname $tocfile; then mv $temporary_tocname $tocfile; fi" |
command = "$link_command && $toc_command && $replace_command" |