Commit 568ccfea by Simon Wright Committed by Eric Botcazou

re PR ada/42978 (gnatmake doesn't report the options it actually provides to ranlib)

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

From-SVN: r217346
parent 36a84226
2014-11-11 Simon Wright <simon@pushface.org>
PR ada/42978
* mlib-utl.adb (ar): Output the options passed to ranlib.
2014-11-07 Arnaud Charlet <charlet@adacore.com> 2014-11-07 Arnaud Charlet <charlet@adacore.com>
* debug.adb, snames.adb-tmpl (Is_Keyword_Name): Consider 'overriding' * debug.adb, snames.adb-tmpl (Is_Keyword_Name): Consider 'overriding'
......
...@@ -282,6 +282,10 @@ package body MLib.Utl is ...@@ -282,6 +282,10 @@ package body MLib.Utl is
if not Opt.Quiet_Output then if not Opt.Quiet_Output then
Write_Str (Ranlib_Name.all); Write_Str (Ranlib_Name.all);
Write_Char (' '); 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); Write_Line (Arguments (Ar_Options'Length + 1).all);
end if; end if;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment