makegpr.adb (Compile): Put the compiling switches (in package Compiler and on the...
authorArnaud Charlet <charlet@gcc.gnu.org>
Fri, 19 Nov 2004 11:25:50 +0000 (12:25 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 19 Nov 2004 11:25:50 +0000 (12:25 +0100)
commit3fa251d08d76564520074142075d0a44f46f1f18
treec801588240096066ead5027300f6c9a4f228b344
parentf0747897b654c6b9937a82de4a78542646858ff2
makegpr.adb (Compile): Put the compiling switches (in package Compiler and on the command line)...

* makegpr.adb (Compile): Put the compiling switches (in package
Compiler and on the command line) immediately after "-c", instead of
at the end of the command line invocation of the compiler, when
compiling a non-Ada file.
(Build_Global_Archive): When there is no need to rebuild the archive,
set Global_Archive_Exists, so that the archive is passed to the linker
if one is needed.

From-SVN: r90914
gcc/ada/makegpr.adb