From 7fee6a39eb712a971f56f6c80ccb6b260655d3e8 Mon Sep 17 00:00:00 2001 From: Bechir Zalila Date: Fri, 7 Nov 2008 10:46:18 +0000 Subject: re PR ada/34289 (gnatmake -s doesn't work) PR ada/34289 * lib.ads: (Enable_Switch_Storing): Declare. * lib.adb: (Enable_Switch_Storing): New procedure. * switch-c.adb (Scan_Front_End_Switches): Add support for -gnatea. * make.adb: (Compile_Sources.Compile): Add -gnatea as first option. (Display): Never display -gnatea * gcc-interface/lang-specs.h: If -gnatea is present, pass -gnatez. Co-Authored-By: Eric Botcazou From-SVN: r141673 --- gcc/ada/switch-c.adb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/ada/switch-c.adb') diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb index 98f70f9..0da8f66 100644 --- a/gcc/ada/switch-c.adb +++ b/gcc/ada/switch-c.adb @@ -301,6 +301,11 @@ package body Switch.C is case Switch_Chars (Ptr) is + when 'a' => + Store_Switch := False; + Enable_Switch_Storing; + Ptr := Ptr + 1; + -- -gnatec (configuration pragmas) when 'c' => -- cgit v1.1