diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2009-05-17 17:18:36 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2009-05-17 17:18:36 +0000 |
commit | 7a281849778fe8596dce1dbdc4d035d5faf118f3 (patch) | |
tree | dc5406c73ac9e3f9de7e85d1d584d4cfdc054e04 | |
parent | f2705730eedcab4a1c46d535643bff115073765c (diff) |
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
-rw-r--r-- | chapter01/changelog.xml | 12 | ||||
-rw-r--r-- | chapter06/glibc.xml | 6 | ||||
-rw-r--r-- | general.ent | 4 |
3 files changed, 18 insertions, 4 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 65e8d82f8..5c033c59f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -38,6 +38,18 @@ --> <listitem> + <para>2009-05-17</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Add optimization (-O3 and -pipe) to + glibc in Chapter 6. + Fixes + <ulink url="&lfs-ticket-root;2299">#2299</ulink>.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2009-05-16</para> <itemizedlist> <listitem> diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 9ddb9bd58..94d69b021 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -109,10 +109,12 @@ unset DL</userinput></screen> <screen><userinput remap="pre">mkdir -v ../glibc-build cd ../glibc-build</userinput></screen> - <para>Again, add the needed compiler flags to CFLAGS for x86 machines:</para> + <para>As in Chapter 5, add the needed compiler flags to CFLAGS for x86 machines. + Here, the optimization of the library is also set for the gcc compiler to + enhance compilation speed (-pipe) and package performance (-O3).</para> <screen><userinput remap="configure">case `uname -m` in - i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;; + i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" > configparms ;; esac</userinput></screen> <para>Prepare Glibc for compilation:</para> diff --git a/general.ent b/general.ent index 341dfdf5c..31fe18941 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> -<!ENTITY version "SVN-20090516"> -<!ENTITY releasedate "May 16, 2009"> +<!ENTITY version "SVN-20090517"> +<!ENTITY releasedate "May 17, 2009"> <!ENTITY copyrightdate "1999-2009"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "6.5"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> |