aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-01-03 03:55:07 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-01-03 03:55:07 +0000
commitc465ee61bcb2911f09d9b398f939adf92d29ec00 (patch)
tree1e0addf03f0f7adcdff98723593eea4dfc0eceba /chapter05
parent8836e6026ab78f44476a8ed005836db507224253 (diff)
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
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/findutils-inst.xml4
-rw-r--r--chapter05/gawk-inst.xml4
-rw-r--r--chapter05/make-inst.xml4
-rw-r--r--chapter05/patch-inst.xml4
-rw-r--r--chapter05/sed-inst.xml4
-rw-r--r--chapter05/shellutils-inst.xml4
-rw-r--r--chapter05/tar-inst.xml4
-rw-r--r--chapter05/textutils-inst.xml4
-rw-r--r--chapter05/utillinux-inst.xml4
9 files changed, 18 insertions, 18 deletions
diff --git a/chapter05/findutils-inst.xml b/chapter05/findutils-inst.xml
index 9b1a214db..6b09d0afa 100644
--- a/chapter05/findutils-inst.xml
+++ b/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>
diff --git a/chapter05/gawk-inst.xml b/chapter05/gawk-inst.xml
index 954cd565f..e4366b5b9 100644
--- a/chapter05/gawk-inst.xml
+++ b/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>
diff --git a/chapter05/make-inst.xml b/chapter05/make-inst.xml
index a2b907532..8f91baa6a 100644
--- a/chapter05/make-inst.xml
+++ b/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>
diff --git a/chapter05/patch-inst.xml b/chapter05/patch-inst.xml
index 078e30c69..9142a23bf 100644
--- a/chapter05/patch-inst.xml
+++ b/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>
diff --git a/chapter05/sed-inst.xml b/chapter05/sed-inst.xml
index f26d25b55..f2bdf1b86 100644
--- a/chapter05/sed-inst.xml
+++ b/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>
diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml
index 138ef995c..b9b2659e5 100644
--- a/chapter05/shellutils-inst.xml
+++ b/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>
diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml
index b9bd593dd..92060aaa4 100644
--- a/chapter05/tar-inst.xml
+++ b/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>
diff --git a/chapter05/textutils-inst.xml b/chapter05/textutils-inst.xml
index af8771e8a..b7050d25c 100644
--- a/chapter05/textutils-inst.xml
+++ b/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>
diff --git a/chapter05/utillinux-inst.xml b/chapter05/utillinux-inst.xml
index 5638d7f2d..12e22e833 100644
--- a/chapter05/utillinux-inst.xml
+++ b/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>