public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6432] State --sysroot option as validated once processed
@ 2022-01-11 8:45 Olivier Hainque
0 siblings, 0 replies; only message in thread
From: Olivier Hainque @ 2022-01-11 8:45 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:8e86086bd33134467cc9c2a75327d1238dc71df9
commit r12-6432-g8e86086bd33134467cc9c2a75327d1238dc71df9
Author: Olivier Hainque <hainque@adacore.com>
Date: Wed Jan 5 09:07:33 2022 +0000
State --sysroot option as validated once processed
Since we now save the option in the "switches" table
to let specs use it more generally, we need to explicitly
state that the option was validated else the driver
will consider it "unrecognized".
2022-01-05 Olivier Hainque <hainque@adacore.com>
* gcc.c (driver_handle_option): State --sysroot as
validated.
Diff:
---
gcc/gcc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/gcc.c b/gcc/gcc.c
index d4c8746b0aa..29fa0f7ddce 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4495,6 +4495,7 @@ driver_handle_option (struct gcc_options *opts,
/* Saving this option is useful to let self-specs decide to
provide a default one. */
do_save = true;
+ validated = true;
break;
case OPT_time_:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-11 8:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11 8:45 [gcc r12-6432] State --sysroot option as validated once processed Olivier Hainque
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).