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
This commit is contained in:
Pierre Labastie 2019-04-05 07:37:41 +00:00
parent ebaee0248c
commit 115f65b4e4
2 changed files with 11 additions and 1 deletions

View File

@ -225,7 +225,7 @@
<seglistitem>
<seg>Bash, Binutils, Bison, Coreutils, GCC, Glibc,
Grep, Make, and Readline</seg>
Grep, Make, Perl, and Readline</seg>
</seglistitem>
</segmentedlist>

View File

@ -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>
@ -127,6 +128,15 @@ cd build</userinput></screen>
</listitem>
</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>