Author: pierre
Date: Fri Apr  5 00:37:41 2019
New Revision: 11569

Log:
Add a switch to glibc's configure, so that kernel API headers are sought in
/usr/include

Modified:
   trunk/BOOK/appendices/dependencies.xml
   trunk/BOOK/chapter06/glibc.xml

Modified: trunk/BOOK/appendices/dependencies.xml
==============================================================================
--- trunk/BOOK/appendices/dependencies.xml      Wed Apr  3 20:25:39 2019        
(r11568)
+++ trunk/BOOK/appendices/dependencies.xml      Fri Apr  5 00:37:41 2019        
(r11569)
@@ -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>
 

Modified: trunk/BOOK/chapter06/glibc.xml
==============================================================================
--- trunk/BOOK/chapter06/glibc.xml      Wed Apr  3 20:25:39 2019        (r11568)
+++ trunk/BOOK/chapter06/glibc.xml      Fri Apr  5 00:37:41 2019        (r11569)
@@ -96,6 +96,7 @@
              --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 @@
         </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>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to