Ignore:
Timestamp:
04/05/2019 07:37:41 AM (5 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
8176c9c
Parents:
ebaee02
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    rebaee02 r115f65b  
    9797             --enable-kernel=&min-kernel;                    \
    9898             --enable-stack-protector=strong        \
     99             --with-headers=/usr/include            \
    99100             libc_cv_slibdir=/lib</userinput></screen>
    100101
     
    125126          extra code to check for buffer overflows, such as stack
    126127          smashing attacks.</para>
     128        </listitem>
     129      </varlistentry>
     130
     131      <varlistentry>
     132        <term><parameter>--with-headers=/usr/include</parameter></term>
     133        <listitem>
     134          <para>This option tells the build system where to find the
     135          kernel API headers. By default, those headers are sought in
     136          <filename class="directory">/tools/include</filename>.</para>
    127137        </listitem>
    128138      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.