diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-12-07 17:51:35 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-12-07 17:51:35 +0000 |
commit | d52a4dca580e1bacb53409ada3510acd0fd66f02 (patch) | |
tree | c1d49400d5dfa82a87af19700f98112185c0c562 /ld/testsuite/lib | |
parent | 133c2bb2574bb91b6b42efcba5080611a69de073 (diff) | |
download | gdb-d52a4dca580e1bacb53409ada3510acd0fd66f02.zip gdb-d52a4dca580e1bacb53409ada3510acd0fd66f02.tar.gz gdb-d52a4dca580e1bacb53409ada3510acd0fd66f02.tar.bz2 |
Pass -rc to ar
* lib/ld-lib.exp (ar_simple_create): Pass -rc to ar.
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 3cb8ee1..4ddb659 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -981,7 +981,7 @@ proc set_file_contents { filename contents } { proc ar_simple_create { ar aropts target objects } { 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] if [string match "" $exec_output] then { |