aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-08-17 11:50:19 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-08-17 11:50:19 +0200
commit579fab006fdfb1ad425c0ebad6c35fef4ead6b0a (patch)
tree06db86f1e6e3a6e162794ee40233b757501926cc /gcc/ada
parent5568b57c5101ca0a9a38e9d080a07712946a8f54 (diff)
downloadgcc-579fab006fdfb1ad425c0ebad6c35fef4ead6b0a.zip
gcc-579fab006fdfb1ad425c0ebad6c35fef4ead6b0a.tar.gz
gcc-579fab006fdfb1ad425c0ebad6c35fef4ead6b0a.tar.bz2
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
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/make.adb5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index 69e00f3..6023532 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;