Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r14-5048-g8b4ac021cd1f63.

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.
---
 gcc/opts.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc/opts.cc b/gcc/opts.cc
index 8015cb7556a..f54cf8305ca 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
-- 
2.26.3

Reply via email to