From 115f65b4e4cb6deb3a0d8afbb9ca23ea567e432a Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 5 Apr 2019 07:37:41 +0000 Subject: [PATCH] Add a switch to glibc's configure, so that kernel API headers are sought in /usr/include git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11569 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- appendices/dependencies.xml | 2 +- chapter06/glibc.xml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index dc1c1897f..1e9ccb1eb 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -225,7 +225,7 @@ Bash, Binutils, Bison, Coreutils, GCC, Glibc, - Grep, Make, and Readline + Grep, Make, Perl, and Readline diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 04a7d6f5f..93d83f80f 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -96,6 +96,7 @@ cd build --disable-werror \ --enable-kernel=&min-kernel; \ --enable-stack-protector=strong \ + --with-headers=/usr/include \ libc_cv_slibdir=/lib @@ -127,6 +128,15 @@ cd build + + --with-headers=/usr/include + + This option tells the build system where to find the + kernel API headers. By default, those headers are sought in + /tools/include. + + + libc_cv_slibdir=/lib