Add handling of -nostdlib, now recognized/needed by gnat1.

From-SVN: r73413
This commit is contained in:
Arnaud Charlet 2003-11-10 12:20:03 +01:00 committed by Arnaud Charlet
parent 139f0d1eb8
commit 5c90f17f66
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
* misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed
by gnat1.
2003-11-10 Arnaud Charlet <charlet@act-europe.fr>
* Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta,

View File

@ -53,6 +53,10 @@ nostdinc
Ada RejectNegative
; Don't look for source files
nostdlib
Ada
; Don't look for object files
fRTS
Ada RejectNegative

View File

@ -266,6 +266,11 @@ gnat_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED)
case OPT_nostdinc:
break;
case OPT_nostdlib:
gnat_argv[gnat_argc] = xstrdup ("-nostdlib");
gnat_argc++;
break;
case OPT_fRTS:
gnat_argv[gnat_argc] = xstrdup ("-fRTS");
gnat_argc++;