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
This commit is contained in:
Gerard Beekmans 2003-01-03 03:55:07 +00:00
parent 8836e6026a
commit c465ee61bc
10 changed files with 23 additions and 18 deletions

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>