aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2019-04-05 07:37:41 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2019-04-05 07:37:41 +0000
commit115f65b4e4cb6deb3a0d8afbb9ca23ea567e432a (patch)
treebf88a1ad8c6c970e825653dad80a440debfd987a /chapter06/glibc.xml
parentebaee0248ce29801c07d551e1d95fa1cb5b186f2 (diff)
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
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml10
1 files changed, 10 insertions, 0 deletions
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</userinput></screen>
--disable-werror \
--enable-kernel=&min-kernel; \
--enable-stack-protector=strong \
+ --with-headers=/usr/include \
libc_cv_slibdir=/lib</userinput></screen>
<variablelist>
@@ -128,6 +129,15 @@ cd build</userinput></screen>
</varlistentry>
<varlistentry>
+ <term><parameter>--with-headers=/usr/include</parameter></term>
+ <listitem>
+ <para>This option tells the build system where to find the
+ kernel API headers. By default, those headers are sought in
+ <filename class="directory">/tools/include</filename>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>libc_cv_slibdir=/lib</parameter></term>
<listitem>
<para>This variable sets the correct library for all