From: David Malcolm Date: Tue, 31 Oct 2023 21:05:41 +0000 (-0400) Subject: opts.cc: fix comment about DOCUMENTATION_ROOT_URL X-Git-Tag: basepoints/gcc-15~5091 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b4ac021cd1f63125aaf8397479602b950438385;p=thirdparty%2Fgcc.git 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 --- 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