Changeset 76bec58


Ignore:
Timestamp:
01/26/2021 07:44:58 AM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.1, 11.0, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
bb5e583
Parents:
2e2a280
Message:

clang: add -DLLVM_BINUTILS_INCDIR

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24143 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    r2e2a280 r76bec58  
    226226      -DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF" \
    227227      -DLLVM_BUILD_TESTS=ON                     \
     228      -DLLVM_BINUTILS_INCDIR=/usr/include       \
    228229      -Wno-dev -G Ninja ..                      &amp;&amp;
    229230ninja</userinput></screen>
     
    338339      run-time type information. This is required for building
    339340      <xref linkend="mesa"/>.
     341    </para>
     342
     343    <para>
     344      <parameter>-DLLVM_BINUTILS_INCDIR=/usr/include</parameter>: Used to
     345      tell the building system the location of binutils headers, installed
     346      in LFS.  This allows the building of
     347      <filename class="libraryfile">LLVMgold.so</filename>, which is needed
     348      for building programs with <command>clang</command> and Link Time
     349      Optimization (LTO).
    340350    </para>
    341351
     
    395405          libRemarks.so,
    396406          libclang.so,
    397           and libclang*.a (63 libraries)
     407          libclang*.a (63 libraries),
     408          and LLVMgold.so
    398409        </seg>
    399410        <seg>
Note: See TracChangeset for help on using the changeset viewer.