Ignore:
Timestamp:
Aug 14, 2014, 1:32:12 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, master, systemd
Children:
0646479
Parents:
f5d13b5
Message:

Disable lto for systemd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/systemd.xml

    rf5d13b5 r09e511ce  
    6767    --with-dbusinterfacedir=/usr/share/dbus-1/interfaces \
    6868    --with-dbussessionservicedir=/usr/share/dbus-1/services \
    69     --with-dbussystemservicedir=/usr/share/dbus-1/system-services</userinput></screen>
     69    --with-dbussystemservicedir=/usr/share/dbus-1/system-services \
     70    cc_cv_CFLAGS__flto=no</userinput></screen>
    7071
    7172    <variablelist os="c">
     
    106107        </listitem>
    107108      </varlistentry>
     109
     110      <varlistentry>
     111        <term><parameter>cc_cv_CFLAGS__flto=no</parameter></term>
     112        <listitem>
     113          <para>This prevents the build system from using GCC's Link-time
     114          optimization (LTO), to ensure that systemd's binaries will not try
     115          to link to <filename class="libraryfile">libgcc_s</filename>.</para>
     116        </listitem>
     117      </varlistentry>
     118
    108119    </variablelist>
    109120
Note: See TracChangeset for help on using the changeset viewer.