aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-05-06 11:46:06 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-05-06 11:46:06 +0000
commit0b63a37abe8f130b390f1c4be54768dd1832213e (patch)
tree7c4cbc0a6d08d1716d792f75b4599344c9b48799
parenta715dec38ac0b569978154356fcfd3bf11523a08 (diff)
Prevent "make" from using guile from the build host
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11835 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter05/make.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter05/make.xml b/chapter05/make.xml
index 5f895c49d..2d054dd9e 100644
--- a/chapter05/make.xml
+++ b/chapter05/make.xml
@@ -45,9 +45,23 @@
<para>Prepare Make for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
+ --without-guile \
--host=$LFS_TGT \
--build=$(build-aux/config.guess)</userinput></screen>
+ <variablelist>
+ <title>The meaning of the new configure option:</title>
+
+ <varlistentry>
+ <term><parameter>--without-guile</parameter></term>
+ <listitem>
+ <para>Although we are cross-compiling, configure tries to use
+ guile from the build host if it finds it. This makes compilation
+ fail, so this switch prevents using it.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>