mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
Pass -rc to ar
* lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2012-12-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.
|
||||||
|
|
||||||
2012-12-07 H.J. Lu <hongjiu.lu@intel.com>
|
2012-12-07 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR ld/14926
|
PR ld/14926
|
||||||
|
@ -981,7 +981,7 @@ proc set_file_contents { filename contents } {
|
|||||||
proc ar_simple_create { ar aropts target objects } {
|
proc ar_simple_create { ar aropts target objects } {
|
||||||
remote_file host delete $target
|
remote_file host delete $target
|
||||||
|
|
||||||
set exec_output [run_host_cmd "$ar" "$aropts rc $target $objects"]
|
set exec_output [run_host_cmd "$ar" "$aropts -rc $target $objects"]
|
||||||
set exec_output [prune_warnings $exec_output]
|
set exec_output [prune_warnings $exec_output]
|
||||||
|
|
||||||
if [string match "" $exec_output] then {
|
if [string match "" $exec_output] then {
|
||||||
|
Reference in New Issue
Block a user