aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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>