浏览代码

changed bzip2's instructions to "export CC...make...unset CC" instead of
"make CC=..."


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1537 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Gerard Beekmans 23 年之前
父节点
当前提交
f7b70da35a
共有 2 个文件被更改,包括 8 次插入1 次删除
  1. 5 0
      chapter01/changelog.xml
  2. 3 1
      chapter05/bzip2-inst.xml

+ 5 - 0
chapter01/changelog.xml

@@ -24,6 +24,11 @@
 
 <itemizedlist>
 
+<listitem><para>February 2nd, 2002 [gerard]: Chapter 5 - Bzip2: Instead of
+running <quote>make CC="gcc -static"</quote> we run <quote>export
+CC="gcc-static" && make && unset CC</quote>. This is more compatible with
+some old distributions.</para></listitem>
+
 <listitem><para>February 2nd, 2002 [gerard]: Chapter 6 - Gzip: Removed the
 compress symlink. Gzip can uncompress .Z files but it can't compress into
 that format.</para></listitem>

+ 3 - 1
chapter05/bzip2-inst.xml

@@ -3,7 +3,9 @@
 
 <para>Install Bzip2 by running the following commands:</para>
 
-<para><screen><userinput>make CC="gcc -static" &amp;&amp;
+<para><screen><userinput>export CC="gcc -static" &amp;&amp;
+make &amp;&amp;
+unset CC &amp;&amp;
 make PREFIX=$LFS/usr install &amp;&amp;
 cd $LFS/usr/bin &amp;&amp;
 mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput></screen></para>