소스 검색

packages whose configure script support the LDFLAGS env. var now use it rather than passing down that var to make

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2276 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 22 년 전
부모
커밋
c465ee61bc

+ 5 - 0
chapter01/changelog.xml

@@ -57,6 +57,11 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>January 2nd, 2003 [geard]: Chapter 05 - All packages whose
+configure script supports the LDFLAGS environment variable now use it
+rather than passing the variable down to
+<userinput>make</userinput>.</para></listitem>
+
 <listitem><para>January 2nd, 2003 [gerard]: Chapter 06 - Fixed the gawk
 patch. <userinput>make uninstall</userinput> will no longer wipe out the
 <filename class="directory">/usr/bin</filename> directory. Also, renamed

+ 2 - 2
chapter05/findutils-inst.xml

@@ -8,8 +8,8 @@ install it.</para>
 
 <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch &amp;&amp;
 CPPFLAGS=-Dre_max_failures=re_max_failures2 \
-&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=$LFS/static &amp;&amp;
-make LDFLAGS="-static" &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static &amp;&amp;
+make &amp;&amp;
 make install</userinput></screen></para>
 
 </sect2>

+ 2 - 2
chapter05/gawk-inst.xml

@@ -4,8 +4,8 @@
 <para>Install Gawk by running the following commands:</para>
 
 <para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
-&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=$LFS/static --disable-nls &amp;&amp;
-make LDFLAGS="-static" &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls &amp;&amp;
+make &amp;&amp;
 make install</userinput></screen></para>
 
 </sect2>

+ 2 - 2
chapter05/make-inst.xml

@@ -3,8 +3,8 @@
 
 <para>Install Make by running the following commands:</para>
 
-<para><screen><userinput>./configure --prefix=$LFS/static --disable-nls &amp;&amp;
-make LDFLAGS="-static" &amp;&amp;
+<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls &amp;&amp;
+make &amp;&amp;
 make install</userinput></screen></para>
 
 <para>During the make install phase you will see this warning:</para>

+ 2 - 2
chapter05/patch-inst.xml

@@ -4,8 +4,8 @@
 <para>Install Patch by running the following commands:</para>
 
 <para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \
-&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=$LFS/static &amp;&amp;
-make LDFLAGS="-static" &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static &amp;&amp;
+make &amp;&amp;
 make install</userinput></screen></para>
 
 </sect2>

+ 2 - 2
chapter05/sed-inst.xml

@@ -4,8 +4,8 @@
 <para>Install Sed by running the following commands:</para>
 
 <para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
-&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=$LFS/static --disable-nls &amp;&amp;
-make LDFLAGS="-static" &amp;&amp;
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls &amp;&amp;
+make &amp;&amp;
 make install</userinput></screen></para>
 
 </sect2>

+ 2 - 2
chapter05/shellutils-inst.xml

@@ -12,9 +12,9 @@ it.</para>
 
 <para>Install Sh-utils by running the following commands:</para>
 
-<para><screen><userinput>./configure --prefix=$LFS/static \
+<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static \
 &nbsp;&nbsp;&nbsp;&nbsp;--disable-nls &amp;&amp;
-make LDFLAGS="-static" &amp;&amp;
+make &amp;&amp;
 make install</userinput></screen></para>
 
 <para>During the make install stage you will see the following warning:</para>

+ 2 - 2
chapter05/tar-inst.xml

@@ -12,8 +12,8 @@ for gzip files).</para>
 
 <para>Install Tar by running the following commands:</para>
 
-<para><screen><userinput>./configure --prefix=$LFS/static --disable-nls &amp;&amp;
-make LDFLAGS="-static" &amp;&amp;
+<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls &amp;&amp;
+make &amp;&amp;
 make install</userinput></screen></para>
 
 </sect2>

+ 2 - 2
chapter05/textutils-inst.xml

@@ -4,9 +4,9 @@
 <para>Install Textutils by running the following commands:</para>
 
 <para><screen><userinput>CPPFLAGS=-Dre_max_failures=re_max_failures2 \
-&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=$LFS/static \
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static \
 &nbsp;&nbsp;&nbsp;&nbsp;--disable-nls &amp;&amp;
-make LDFLAGS="-static" &amp;&amp;
+make &amp;&amp;
 make install</userinput></screen></para>
 
 </sect2>

+ 2 - 2
chapter05/utillinux-inst.xml

@@ -6,9 +6,9 @@ be compiling the entire package.</para>
 
 <para>Install Util-linux by running the following commands:</para>
 
-<para><screen><userinput>./configure &amp;&amp;
+<para><screen><userinput>LDFLAGS="-static" ./configure &amp;&amp;
 make -C lib &amp;&amp;
-make -C mount LDFLAGS="-static" mount umount &amp;&amp;
+make -C mount mount umount &amp;&amp;
 cp mount/{mount,umount} $LFS/static/bin</userinput></screen></para>
 
 </sect2>