]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
opts.cc: fix comment about DOCUMENTATION_ROOT_URL
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 31 Oct 2023 21:05:41 +0000 (17:05 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Tue, 31 Oct 2023 21:05:41 +0000 (17:05 -0400)
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>
gcc/opts.cc

index 8015cb7556a276e6f7d3590cf45c1b06b8d7737c..f54cf8305ca19b3edf33212036a2ce0685ccf9c9 100644 (file)
@@ -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