diff options
author | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2008-04-23 18:33:53 +0000 |
---|---|---|
committer | Jeremy Huntwork <jhuntwork@linuxfromscratch.org> | 2008-04-23 18:33:53 +0000 |
commit | 1c6f1c1e4177cf26946a7cf8865f15be1405d9b6 (patch) | |
tree | cb3cb53a389ab6901d136fdef6ed23a8f2e30bbf /chapter06 | |
parent | 0fcbd171153eafae777233a0a28e46f4b40129de (diff) |
Use -mtune=native for glibc. We don't want our libc optimized for 486.
It should be optimized for the local machine.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8541 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/glibc.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index ef9f528d2..65a4383d7 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -104,7 +104,7 @@ cd ../glibc-build</userinput></screen> <para>Again, add the needed compiler flag to CFLAGS:</para> -<screen><userinput remap="configure">echo "CFLAGS += -march=i486" > configparms</userinput></screen> +<screen><userinput remap="configure">echo "CFLAGS += -march=i486 -mtune=native" > configparms</userinput></screen> <para>Prepare Glibc for compilation:</para> |