public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5048] opts.cc: fix comment about DOCUMENTATION_ROOT_URL
@ 2023-10-31 21:12 David Malcolm
  0 siblings, 0 replies; only message in thread
From: David Malcolm @ 2023-10-31 21:12 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8b4ac021cd1f63125aaf8397479602b950438385

commit r14-5048-g8b4ac021cd1f63125aaf8397479602b950438385
Author: David Malcolm <dmalcolm@redhat.com>
Date:   Tue Oct 31 17:05:41 2023 -0400

    opts.cc: fix comment about DOCUMENTATION_ROOT_URL
    
    gcc/ChangeLog:
            * opts.cc (get_option_url): Update comment; the requirement to
            pass DOCUMENTATION_ROOT_URL's value via -D was removed in
            r10-8065-ge33a1eae25b8a8.
    
    Signed-off-by: David Malcolm <dmalcolm@redhat.com>

Diff:
---
 gcc/opts.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/opts.cc b/gcc/opts.cc
index 8015cb7556a2..f54cf8305ca1 100644
--- a/gcc/opts.cc
+++ b/gcc/opts.cc
@@ -3679,9 +3679,9 @@ char *
 get_option_url (diagnostic_context *, int option_index)
 {
   if (option_index)
-    return concat (/* DOCUMENTATION_ROOT_URL should be supplied via -D by
-		      the Makefile (see --with-documentation-root-url), and
-		      should have a trailing slash.  */
+    return concat (/* DOCUMENTATION_ROOT_URL should be supplied via
+		      #include "config.h" (see --with-documentation-root-url),
+		      and should have a trailing slash.  */
 		   DOCUMENTATION_ROOT_URL,
 
 		   /* get_option_html_page will return something like

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-31 21:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-31 21:12 [gcc r14-5048] opts.cc: fix comment about DOCUMENTATION_ROOT_URL David Malcolm

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).