aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-11-18 12:07:51 +0800
committerXi Ruoyao <xry111@xry111.site>2022-11-18 12:11:04 +0800
commit7054cc64eaf9737732a1d63eb5edc9a04af94459 (patch)
treefccfba5d9196d3f36e6c808e098e7208edf157d2 /chapter08
parent27601131e4ee4d960546e966e7f4326102b23d47 (diff)
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'.
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/glibc.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index d121084df..7cf111ef8 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -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 \