mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
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
This commit is contained in:
parent
16328ae2ef
commit
a11b40fbeb
@ -46,6 +46,10 @@
|
||||
<listitem>
|
||||
<para>[jhuntwork] - Various textual corrections. Thanks Chris Staub.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[jhuntwork] - Remove unnecessary LDFLAGS variables in binutils pass 1 and 2.
|
||||
Thanks Dan Nicholson.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
||||
|
||||
|
@ -21,7 +21,7 @@ directories.</para>
|
||||
|
||||
<para>First, backup the <filename class="directory">/tools</filename> linker, and
|
||||
replace it with the adjusted linker we made in chapter 5. We'll also create a
|
||||
link to its counterpart in <filename class="directory">/tools/$(gcc -dumpmachine)/bin</filename></para>
|
||||
link to its counterpart in <filename class="directory">/tools/$(gcc -dumpmachine)/bin</filename>.</para>
|
||||
|
||||
<screen><userinput>mv -v /tools/bin/{ld,ld-old}
|
||||
mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
|
||||
|
Loading…
Reference in New Issue
Block a user