Add handling of -nostdlib, now recognized/needed by gnat1.
From-SVN: r73413
This commit is contained in:
parent
139f0d1eb8
commit
5c90f17f66
@ -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,
|
||||
|
@ -53,6 +53,10 @@ nostdinc
|
||||
Ada RejectNegative
|
||||
; Don't look for source files
|
||||
|
||||
nostdlib
|
||||
Ada
|
||||
; Don't look for object files
|
||||
|
||||
fRTS
|
||||
Ada RejectNegative
|
||||
|
||||
|
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user