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.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index a0f3b0b42fa..25124fa8314 100644
--- a/gcc/ada/make.adb
+++ b/gcc/ada/make.adb
@@ -4772,6 +4772,11 @@ package body Make is
Exit_Program (E_Success);
else
+ -- Call Get_Target_Parameters to ensure that VM_Target and
+ -- AAMP_On_Target get set before calling Usage.
+
+ Targparm.Get_Target_Parameters;
+
-- Output usage information if no files to compile
Usage;