mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
Try to fix build determinism problem
Change-Id: If88be33a79a26107d297b87da08e3c7abde4e7cb Reviewed-on: https://dart-review.googlesource.com/32665 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Zach Anderson <zra@google.com>
This commit is contained in:
parent
0add93f98e
commit
45289978bf
|
@ -129,7 +129,7 @@ template("gcc_toolchain") {
|
|||
|
||||
tool("alink") {
|
||||
rspfile = "{{output}}.rsp"
|
||||
command = "rm -f {{output}} && $ar rcs {{output}} @$rspfile"
|
||||
command = "rm -f {{output}} && $ar rcsD {{output}} @$rspfile"
|
||||
description = "AR {{output}}"
|
||||
rspfile_content = "{{inputs}}"
|
||||
outputs = [
|
||||
|
@ -209,7 +209,7 @@ template("gcc_toolchain") {
|
|||
} else if (defined(invoker.llvm_objcopy)) {
|
||||
strip = invoker.llvm_objcopy
|
||||
strip_command =
|
||||
"${strip} --strip-all $outfile $stripped_outfile"
|
||||
"${strip} --strip-sections $outfile $stripped_outfile"
|
||||
command += " && " + strip_command
|
||||
}
|
||||
if (defined(invoker.postlink)) {
|
||||
|
|
Loading…
Reference in a new issue