aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc.xml
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2008-12-03 22:46:04 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2008-12-03 22:46:04 +0000
commit6e886330cf157dc71e6a0a1fca410d7005683167 (patch)
tree0d8c4ae5a6429328469c512bb9f6661ad3886e19 /chapter05/glibc.xml
parentb0e1dc860c471d7047fc906001f3a336ef5f357c (diff)
Initial addition of support for x86_64
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8754 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r--chapter05/glibc.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 23a8d2351..3252c5a10 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -64,7 +64,9 @@ cd ../glibc-build</userinput></screen>
-mtune=native flag is also necessary to reset a reasonable value for -mtune
that is changed when setting -march.</para>
-<screen><userinput remap="configure">echo "CFLAGS += -march=i486 -mtune=native" &gt; configparms</userinput></screen>
+<screen><userinput remap="configure">case `uname -m` in
+ i?86) echo "CFLAGS += -march=i486 -mtune=native" &gt; configparms ;;
+esac</userinput></screen>
<para>Next, prepare Glibc for compilation:</para>