aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-05-14 19:38:32 +0800
committerXi Ruoyao <xry111@xry111.site>2023-05-14 19:38:32 +0800
commit45d1335cbe5cb3e4f624b7f370cb0c7d02518fd0 (patch)
tree0e75c2d1dc42c212e0b202e49ac8e8292d40af52 /chapter06
parentc2596a447c4cb7b1624428e1fa79c293f756eca0 (diff)
parent384d643f3bac1fc5b06352fdd259262601bb830d (diff)
Merge remote-tracking branch 'origin/trunk' into xry111/arm64
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/coreutils.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 33f53ec1e..d3afe3918 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -43,13 +43,17 @@
<sect2 role="installation">
<title>Installation of Coreutils</title>
+<!--
+<screen><userinput remap="configure">export gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen>
+-->
<para>Prepare Coreutils for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
--host=$LFS_TGT \
--build=$(build-aux/config.guess) \
--enable-install-program=hostname \
- --enable-no-install-program=kill,uptime</userinput></screen>
+ --enable-no-install-program=kill,uptime \
+ gl_cv_macro_MB_CUR_MAX_good=y</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -62,6 +66,14 @@
Perl test suite.</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><envar>gl_cv_macro_MB_CUR_MAX_good=y</envar></term>
+ <listitem>
+ <para>This is needed to work around an issue in the gnulib copy
+ shipped by the package which would break cross compilation.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>Compile the package:</para>