Changeset 76bec58 for general/prog


Ignore:
Timestamp:
01/26/2021 07:44:58 AM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
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.