aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/make.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/make.adb')
-rw-r--r--gcc/ada/make.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index 113b8d1..d734dd5 100644
--- a/gcc/ada/make.adb
+++ b/gcc/ada/make.adb
@@ -3595,7 +3595,7 @@ package body Make is
end loop Look_For_Foreign;
end if;
- -- The, find all mains, or if there is a foreign
+ -- Then, find all mains, or if there is a foreign
-- language, all the Ada mains.
while Value /= Prj.Nil_String loop
@@ -6848,11 +6848,13 @@ package body Make is
-- linking with all standard library files.
Opt.No_Stdlib := True;
+
+ Add_Switch (Argv, Compiler, And_Save => And_Save);
Add_Switch (Argv, Binder, And_Save => And_Save);
elsif Argv (2 .. Argv'Last) = "nostdinc" then
- -- Pass -nostdinv to the Compiler and to gnatbind
+ -- Pass -nostdinc to the Compiler and to gnatbind
Opt.No_Stdinc := True;
Add_Switch (Argv, Compiler, And_Save => And_Save);