diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index abc844af4..ecd583755 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -89,6 +89,15 @@ cd build Next, prepare Glibc for compilation: +../configure \ + --prefix=/usr \ + --host=$LFS_TGT \ + --build=$(../scripts/config.guess) \ + --enable-kernel=&min-kernel; \ + --with-headers=$LFS/usr/include \ + --disable-nscd \ + libc_cv_slibdir=/usr/lib + The meaning of the configure options: diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index 5cb11042b..2539f7425 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -68,6 +68,13 @@ cd build Prepare Glibc for compilation: +../configure --prefix=/usr \ + --disable-werror \ + --enable-kernel=&min-kernel; \ + --enable-stack-protector=strong \ + --disable-nscd \ + libc_cv_slibdir=/usr/lib + The meaning of the configure options: