|
@@ -64,7 +64,7 @@ strictly speaking, <userinput>"-all-static"</userinput> is first passed to the
|
|
|
<para>Now prepare the linker for the "locking in" of Glibc later on:</para>
|
|
|
|
|
|
<para><screen><userinput>make -C ld clean
|
|
|
-make -C ld LIB_PATH=/tools/lib</userinput></screen></para>
|
|
|
+make -C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput></screen></para>
|
|
|
|
|
|
<para>The meaning of the make options:</para>
|
|
|
|
|
@@ -73,12 +73,13 @@ make -C ld LIB_PATH=/tools/lib</userinput></screen></para>
|
|
|
to remove all the compiled files, but only in the <filename>ld</filename>
|
|
|
subdirectory.</para></listitem>
|
|
|
|
|
|
-<listitem><para><userinput>-C ld LIB_PATH=/tools/lib</userinput>: This option
|
|
|
-rebuilds everything in the <filename>ld</filename> subdirectory. Specifying the
|
|
|
-LIB_PATH makefile variable on the command line allows us to override the default
|
|
|
-value and have it point to our temporary tools location. The value of this
|
|
|
-variable specifies the linker's default library search path. You'll see how this
|
|
|
-preparation is utilised later on in the chapter.</para></listitem>
|
|
|
+<listitem><para><userinput>-C ld LDFLAGS="-all-static" LIB_PATH=/tools/lib</userinput>:
|
|
|
+This option rebuilds everything in the <filename>ld</filename> subdirectory.
|
|
|
+Specifying the LIB_PATH makefile variable on the command line allows us to
|
|
|
+override the default value and have it point to our temporary tools location.
|
|
|
+The value of this variable specifies the linker's default library search path.
|
|
|
+You'll see how this preparation is utilised later on in the
|
|
|
+chapter.</para></listitem>
|
|
|
</itemizedlist>
|
|
|
|
|
|
<warning><para>Do not yet remove the Binutils build and source directories. You
|