|
@@ -55,9 +55,11 @@ cd ../glibc-build</userinput></screen>
|
|
|
the flag is best placed inside the build variable <quote>CFLAGS</quote>.
|
|
|
Instead of overriding completely what Glibc's internal build system uses
|
|
|
for CFLAGS, append the new flag to the existing contents of CFLAGS by
|
|
|
- making use of the special file <filename>configparms</filename>:</para>
|
|
|
+ making use of the special file <filename>configparms</filename>. The
|
|
|
+ -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" > configparms</userinput></screen>
|
|
|
+<screen><userinput remap="configure">echo "CFLAGS += -march=i486 -mtune=native" > configparms</userinput></screen>
|
|
|
|
|
|
<para>Next, prepare Glibc for compilation:</para>
|
|
|
|