diff options
Diffstat (limited to 'gcc/ada/makegpr.adb')
-rw-r--r-- | gcc/ada/makegpr.adb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ada/makegpr.adb b/gcc/ada/makegpr.adb index a881bc30d49..5204206d481 100644 --- a/gcc/ada/makegpr.adb +++ b/gcc/ada/makegpr.adb @@ -3130,6 +3130,15 @@ package body Makegpr is Get_Name_String (Source.Object_Name), True); + -- Add the switches specified in package Linker of + -- the main project. + + Add_Switches + (Data => Data, + Proc => Linker, + Language => Source.Language, + File_Name => Main_Id); + -- Add the switches specified in attribute -- Linker_Options of packages Linker. |