瀏覽代碼

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
Pierre Labastie 5 年之前
父節點
當前提交
0b63a37abe
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      chapter05/make.xml

+ 14 - 0
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>