Commit 579fab00 by Arnaud Charlet

make.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee…

make.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee switch to avoid spawning an extra gcc...

2009-08-17  Arnaud Charlet  <charlet@adacore.com>

	* make.adb (Process_Multilib, Scan_Make_Arg): Refine previous change
	and ignore -mieee switch to avoid spawning an extra gcc in this case.

From-SVN: r150829
parent 5568b57c
...@@ -7326,6 +7326,7 @@ package body Make is ...@@ -7326,6 +7326,7 @@ package body Make is
and then Argv (1) = '-' and then Argv (1) = '-'
and then Argv (2) = 'm' and then Argv (2) = 'm'
and then Argv /= "-margs" and then Argv /= "-margs"
and then Argv /= "-mieee"
then then
Arg_Index := Arg_Index + 1; Arg_Index := Arg_Index + 1;
Args (Arg_Index) := new String'(Argv); Args (Arg_Index) := new String'(Argv);
...@@ -7860,7 +7861,9 @@ package body Make is ...@@ -7860,7 +7861,9 @@ package body Make is
Add_Switch (Argv, Compiler, And_Save => And_Save); Add_Switch (Argv, Compiler, And_Save => And_Save);
Add_Switch (Argv, Linker, And_Save => And_Save); Add_Switch (Argv, Linker, And_Save => And_Save);
if Argv (2) = 'm' then if Argv (2) = 'm'
and then Argv /= "-mieee"
then
N_M_Switch := N_M_Switch + 1; N_M_Switch := N_M_Switch + 1;
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