glibc: it should be --disable-werror, not --disable-Werror

Please try not to use the "replace" feature of the text editor blindly.

Appendix C of the GNU C Library Reference Manual clearly says:

'--disable-werror'
     By default, the GNU C Library is built with '-Werror'.  If you wish
     to build without this option (for example, if building with a newer
     version of GCC than this version of the GNU C Library was tested
     with, so new warnings cause the build with '-Werror' to fail), you
     can configure with '--disable-werror'.
This commit is contained in:
Xi Ruoyao 2022-11-18 12:07:51 +08:00
parent 27601131e4
commit 7054cc64ea
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -70,7 +70,7 @@ cd build</userinput></screen>
<para>Prepare Glibc for compilation:</para>
<screen><userinput remap="configure">../configure --prefix=/usr \
--disable-Werror \
--disable-werror \
--enable-kernel=&min-kernel; \
--enable-stack-protector=strong \
--with-headers=/usr/include \