summaryrefslogtreecommitdiff
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, 6 insertions, 0 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index 2c2489c6a37..da2707b36e2 100644
--- a/gcc/ada/make.adb
+++ b/gcc/ada/make.adb
@@ -7988,6 +7988,12 @@ package body Make is
end;
end if;
+ elsif Argv'Length > Source_Info_Option'Length and then
+ Argv (1 .. Source_Info_Option'Length) = Source_Info_Option
+ then
+ Project_Tree.Source_Info_File_Name :=
+ new String'(Argv (Source_Info_Option'Length + 1 .. Argv'Last));
+
elsif Argv'Length >= 8 and then
Argv (1 .. 8) = "--param="
then