diff options
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r-- | chapter05/glibc.xml | 4 |
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" > configparms</userinput></screen> +<screen><userinput remap="configure">case `uname -m` in + i?86) echo "CFLAGS += -march=i486 -mtune=native" > configparms ;; +esac</userinput></screen> <para>Next, prepare Glibc for compilation:</para> |