make.adb (Gnatmake_Switch_Found): New Boolean global variable
authorVincent Celier <celier@adacore.com>
Wed, 20 Aug 2008 15:42:52 +0000 (17:42 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Wed, 20 Aug 2008 15:42:52 +0000 (17:42 +0200)
commit54e034613467cfab3e89f23f7a1043910791d35b
tree133213ff171fab92fc5792713622af0dee282c5d
parent7486d8e0c87a721a4b04229d1a3c3638d53d870c
make.adb (Gnatmake_Switch_Found): New Boolean global variable

2008-08-20  Vincent Celier  <celier@adacore.com>

* make.adb (Gnatmake_Switch_Found): New Boolean global variable
(Switch_May_Be_Passed_To_The_Compiler): New Boolean global variable
(Add_Switches): New Boolean parameter Unknown_Switches_To_The_Compiler
 defaulted to True. Fail when Unknown_Switches_To_The_Compiler is False
and a switch is not recognized by gnatmake.
(Gnatmake): Implement new scheme for gnatmake switches and global
compilation switches.
(Switches_Of): Try successively Switches (<file name>),
Switches ("Ada"), Switches (others) and Default_Switches ("Ada").

From-SVN: r139315
gcc/ada/make.adb