]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
INSTALL: Rephrase -with-default-link documentation
authorFlorian Weimer <fweimer@redhat.com>
Tue, 26 Apr 2022 12:22:10 +0000 (14:22 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 26 Apr 2022 13:27:43 +0000 (15:27 +0200)
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit c935789bdf40ba22b5698da869d3a4789797e09f)

INSTALL
manual/install.texi

diff --git a/INSTALL b/INSTALL
index dc71f411a7491fa84a0184b76e71923f493466cf..6a6f25285b8df9eed5b3b38fb9a022593e1930c0 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -90,10 +90,10 @@ if 'CFLAGS' is specified it must enable optimization.  For example:
      library will still be usable, but functionality may be lost--for
      example, you can't build a shared libc with old binutils.
 
-'--with-default-link=FLAG'
-     With '--with-default-link=yes', the build system does not use a
-     custom linker script for linking shared objects.  The default for
-     FLAG is the opposite, 'no', because the custom linker script is
+'--with-default-link'
+     With '--with-default-link', the build system does not use a custom
+     linker script for linking shared objects.  The default is
+     '--without-default-link', because the custom linker script is
      needed for full RELRO protection.
 
 '--with-nonshared-cflags=CFLAGS'
index 1bf36e06c67dde621b685ec8393fd8d1110a8de3..3d445115b70ef7250ad637aaf668121c84d19c5d 100644 (file)
@@ -117,11 +117,11 @@ problem and suppress these constructs, so that the library will still be
 usable, but functionality may be lost---for example, you can't build a
 shared libc with old binutils.
 
-@item --with-default-link=@var{FLAG}
-With @code{--with-default-link=yes}, the build system does not use a
-custom linker script for linking shared objects.  The default for
-@var{FLAG} is the opposite, @samp{no}, because the custom linker script
-is needed for full RELRO protection.
+@item --with-default-link
+With @code{--with-default-link}, the build system does not use a custom
+linker script for linking shared objects.  The default is
+@code{--without-default-link}, because the custom linker script is
+needed for full RELRO protection.
 
 @item --with-nonshared-cflags=@var{cflags}
 Use additional compiler flags @var{cflags} to build the parts of the