Pass -rc to ar
[deliverable/binutils-gdb.git] / ld / testsuite / lib / ld-lib.exp
index 3cb8ee187f16f5967814e740a0f144f09accce93..4ddb659bc1fb04470cb68f9f11abb33b67e2168e 100644 (file)
@@ -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 {
This page took 0.023574 seconds and 4 git commands to generate.