This makes it so that gnatmake echoes the full command line passed to ranlib.

Tested on x86_64-suse-linux, applied on the mainline.


2014-11-11  Simon Wright  <si...@pushface.org>

        PR ada/42978
        * mlib-utl.adb (ar): Output the options passed to ranlib.


-- 
Eric Botcazou
Index: mlib-utl.adb
===================================================================
--- mlib-utl.adb	(revision 217259)
+++ mlib-utl.adb	(working copy)
@@ -282,6 +282,10 @@ package body MLib.Utl is
          if not Opt.Quiet_Output then
             Write_Str  (Ranlib_Name.all);
             Write_Char (' ');
+            for J in Ranlib_Options'Range loop
+               Write_Str  (Ranlib_Options (J).all);
+               Write_Char (' ');
+            end loop;
             Write_Line (Arguments (Ar_Options'Length + 1).all);
          end if;
 

Reply via email to