Changeset 0472eb0


Ignore:
Timestamp:
09/09/2022 04:52:42 PM (19 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
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, xry111/llvm18, xry111/soup3, xry111/xf86-video-removal
Children:
7b459c22, b84c401
Parents:
c8344b7
Message:

Add instructions for pie and ssp in clang

Just instructions for now because in a hurry... TODO:

  • Add command explanations
  • Update changelog
  • also gcc in blfs needs to get the switches for default pie and default ssp
File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/llvm.xml

    rc8344b7 r0472eb0  
    149149      </itemizedlist>
    150150
     151      <itemizedlist spacing="compact">
     152        <listitem>
     153          <para>
     154            SSP patch:
     155            <ulink url="&patch-root;/clang-&llvm-version;-enable_default_ssp-1.patch"/>
     156          </para>
     157        </listitem>
     158      </itemizedlist>
     159
    151160    <bridgehead renderas="sect3">LLVM Dependencies</bridgehead>
    152161
     
    227236     before applying -i -->
    228237<screen><userinput remap="pre">patch -Np2 -d projects/compiler-rt &lt;../compiler-rt-14.0.6-glibc_2_36-1.patch</userinput></screen>
     238<screen><userinput remap="pre">patch -Np2 -d tools/clang &lt;../clang-&llvm-version;-enable_default_ssp-1.patch</userinput></screen>
    229239
    230240    <para>
     
    246256      -DLLVM_BINUTILS_INCDIR=/usr/include       \
    247257      -DLLVM_INCLUDE_BENCHMARKS=OFF             \
     258      -DCLANG_DEFAULT_PIE_ON_LINUX=ON           \
    248259      -Wno-dev -G Ninja ..                      &amp;&amp;
    249260ninja</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.