From: Arnaud Charlet Date: Mon, 17 Aug 2009 09:50:19 +0000 (+0200) Subject: make.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee switch... X-Git-Tag: releases/gcc-4.5.0~3982 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=579fab006fdfb1ad425c0ebad6c35fef4ead6b0a;p=thirdparty%2Fgcc.git make.adb (Process_Multilib, [...]): Refine previous change and ignore -mieee switch to avoid spawning an extra gcc... 2009-08-17 Arnaud Charlet * 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 --- diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb index 69e00f31ecec..60235328b448 100644 --- a/gcc/ada/make.adb +++ b/gcc/ada/make.adb @@ -7326,6 +7326,7 @@ package body Make is and then Argv (1) = '-' and then Argv (2) = 'm' and then Argv /= "-margs" + and then Argv /= "-mieee" then Arg_Index := Arg_Index + 1; Args (Arg_Index) := new String'(Argv); @@ -7860,7 +7861,9 @@ package body Make is Add_Switch (Argv, Compiler, 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; end if;