08c3a6
commit 0d477e92c49db2906b32e44135b98746ccc73c7b
08c3a6
Author: Florian Weimer <fweimer@redhat.com>
08c3a6
Date:   Tue Apr 26 14:22:10 2022 +0200
08c3a6
08c3a6
    INSTALL: Rephrase -with-default-link documentation
08c3a6
    
08c3a6
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>
08c3a6
    (cherry picked from commit c935789bdf40ba22b5698da869d3a4789797e09f)
08c3a6
08c3a6
diff --git a/INSTALL b/INSTALL
08c3a6
index 60d01568d77645c7..10a3dcdc0a8db665 100644
08c3a6
--- a/INSTALL
08c3a6
+++ b/INSTALL
08c3a6
@@ -90,10 +90,10 @@ if 'CFLAGS' is specified it must enable optimization.  For example:
08c3a6
      library will still be usable, but functionality may be lost--for
08c3a6
      example, you can't build a shared libc with old binutils.
08c3a6
 
08c3a6
-'--with-default-link=FLAG'
08c3a6
-     With '--with-default-link=yes', the build system does not use a
08c3a6
-     custom linker script for linking shared objects.  The default for
08c3a6
-     FLAG is the opposite, 'no', because the custom linker script is
08c3a6
+'--with-default-link'
08c3a6
+     With '--with-default-link', the build system does not use a custom
08c3a6
+     linker script for linking shared objects.  The default is
08c3a6
+     '--without-default-link', because the custom linker script is
08c3a6
      needed for full RELRO protection.
08c3a6
 
08c3a6
 '--with-nonshared-cflags=CFLAGS'
08c3a6
diff --git a/manual/install.texi b/manual/install.texi
08c3a6
index 36a5af62bc5722b0..8e34ff7e1847f3ae 100644
08c3a6
--- a/manual/install.texi
08c3a6
+++ b/manual/install.texi
08c3a6
@@ -117,11 +117,11 @@ problem and suppress these constructs, so that the library will still be
08c3a6
 usable, but functionality may be lost---for example, you can't build a
08c3a6
 shared libc with old binutils.
08c3a6
 
08c3a6
-@item --with-default-link=@var{FLAG}
08c3a6
-With @code{--with-default-link=yes}, the build system does not use a
08c3a6
-custom linker script for linking shared objects.  The default for
08c3a6
-@var{FLAG} is the opposite, @samp{no}, because the custom linker script
08c3a6
-is needed for full RELRO protection.
08c3a6
+@item --with-default-link
08c3a6
+With @code{--with-default-link}, the build system does not use a custom
08c3a6
+linker script for linking shared objects.  The default is
08c3a6
+@code{--without-default-link}, because the custom linker script is
08c3a6
+needed for full RELRO protection.
08c3a6
 
08c3a6
 @item --with-nonshared-cflags=@var{cflags}
08c3a6
 Use additional compiler flags @var{cflags} to build the parts of the