aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-01-31 01:50:44 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-01-31 01:50:44 +0000
commita11b40fbeb40a33bcbe3597c7dbc4eb9e1c1de1c (patch)
treefd671c1a412e7a519b21b1f5bc673093ae9bb7f6 /chapter05
parent16328ae2ef185b63d405be2f647362ce8e121de3 (diff)
Remove unnecessary LDFLAGS variables in binutils pass 1 and 2. Thanks Dan Nicholson.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7319 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/binutils-pass1.xml8
-rw-r--r--chapter05/binutils-pass2.xml2
2 files changed, 4 insertions, 6 deletions
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index a395c3dfe..66babd397 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -105,7 +105,7 @@ cd ../binutils-build</userinput></screen>
later on:</para>
<screen><userinput>make -C ld clean
-make -C ld LDFLAGS="-s" LIB_PATH=/tools/lib
+make -C ld LIB_PATH=/tools/lib
cp -v ld/ld-new /tools/bin</userinput></screen>
<variablelist>
@@ -121,12 +121,10 @@ cp -v ld/ld-new /tools/bin</userinput></screen>
</varlistentry>
<varlistentry>
- <term><parameter>-C ld LDFLAGS="-s" LIB_PATH=/tools/lib</parameter></term>
+ <term><parameter>-C ld LIB_PATH=/tools/lib</parameter></term>
<listitem>
<para>This option rebuilds everything in the <filename
- class="directory">ld</filename> subdirectory. The
- <envar>LDFLAGS</envar> variable will build a static version of
- <command>ld</command>. Specifying the
+ class="directory">ld</filename> subdirectory. Specifying the
<envar>LIB_PATH</envar> Makefile variable on the command line
allows us to override the default value and point it to the
temporary tools location. The value of this variable specifies
diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml
index cc9cdcb6a..eecf6eb5f 100644
--- a/chapter05/binutils-pass2.xml
+++ b/chapter05/binutils-pass2.xml
@@ -86,7 +86,7 @@ cd ../binutils-build</userinput></screen>
the next chapter:</para>
<screen><userinput>make -C ld clean
-make -C ld LDFLAGS="-s" LIB_PATH=/usr/lib:/lib
+make -C ld LIB_PATH=/usr/lib:/lib
cp -v ld/ld-new /tools/bin</userinput></screen>