]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
multiflags: fix doc warning properly
authorAlexandre Oliva <oliva@adacore.com>
Wed, 13 Dec 2023 04:31:41 +0000 (01:31 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Wed, 13 Dec 2023 04:31:41 +0000 (01:31 -0300)
Rather than a dubious fix for a dubious warning, namely adding a
period after a parenthesized @xref because the warning demands it, use
@pxref that is meant for exactly this case.  Thanks to Joseph Myers
for introducing me to it.

for  gcc/ChangeLog

* doc/invoke.texi (multiflags): Drop extraneous period, use
@pxref instead.

gcc/doc/invoke.texi

index 1f26f80d26c83226d0d2be17134575a4dec16d46..19feba467a460b48de86b6de1d981851adae9351 100644 (file)
@@ -20588,8 +20588,8 @@ allocation before or after interprocedural optimization.
 @item -fmultiflags
 This option enables multilib-aware @code{TFLAGS} to be used to build
 target libraries with options different from those the compiler is
-configured to use by default, through the use of specs (@xref{Spec
-Files}.) set up by compiler internals, by the target, or by builders at
+configured to use by default, through the use of specs (@pxref{Spec
+Files}) set up by compiler internals, by the target, or by builders at
 configure time.
 
 Like @code{TFLAGS}, this allows the target libraries to be built for