Ignore:
Timestamp:
05/17/2009 05:18:36 PM (15 years ago)
Author:
Bruce Dubbs <bdubbs@…>
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, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 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:
0b258b4
Parents:
f270573
Message:

Add optimization (-O3 and -pipe) to glibc in Chapter 6

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8885 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    rf270573 r7a28184  
    110110cd ../glibc-build</userinput></screen>
    111111
    112     <para>Again, add the needed compiler flags to CFLAGS for x86 machines:</para>
     112    <para>As in Chapter 5, add the needed compiler flags to CFLAGS for x86 machines.
     113    Here, the optimization of the library is also set for the gcc compiler to
     114    enhance compilation speed (-pipe) and package performance (-O3).</para>
    113115
    114116<screen><userinput remap="configure">case `uname -m` in
    115   i?86) echo "CFLAGS += -march=i486 -mtune=native" &gt; configparms ;;
     117  i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" &gt; configparms ;;
    116118esac</userinput></screen>
    117119
Note: See TracChangeset for help on using the changeset viewer.