mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 12:57:42 +00:00
[GN] Fix up arguments to nm
R=rmacnak@google.com Review-Url: https://codereview.chromium.org/2899713003 .
This commit is contained in:
parent
299c5f15fd
commit
821d31f54c
|
@ -149,7 +149,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 $sofile | cut -f1-2 -d' '; } > $temporary_tocname"
|
||||
toc_command = "{ $readelf -d $sofile | grep SONAME ; $nm -gD -f posix $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"
|
||||
|
|
Loading…
Reference in a new issue