From 7054cc64eaf9737732a1d63eb5edc9a04af94459 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 18 Nov 2022 12:07:51 +0800 Subject: 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'. --- chapter08/glibc.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter08') 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 Prepare Glibc for compilation: ../configure --prefix=/usr \ - --disable-Werror \ + --disable-werror \ --enable-kernel=&min-kernel; \ --enable-stack-protector=strong \ --with-headers=/usr/include \ -- cgit v1.2.3-54-g00ecf