|
@@ -12,6 +12,7 @@ LFS=/mnt/lfs
|
|
|
LC_ALL=POSIX
|
|
|
PATH=/tools/bin:$PATH
|
|
|
export LFS LC_ALL PATH
|
|
|
+unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD
|
|
|
<userinput>EOF
|
|
|
|
|
|
source ~/.bash_profile</userinput></screen></para>
|
|
@@ -46,6 +47,10 @@ everything will work as expected in the chroot environment.</para>
|
|
|
that, as we move along through this chapter, the tools we build will get used
|
|
|
during the rest of the building process.</para>
|
|
|
|
|
|
+<para>The CC, CXX, CPP, LD_LIBRARY_PATH and LD_PRELOAD environment variables all
|
|
|
+have the potential to cause havoc with our Chapter 5 toolchain. We therefore
|
|
|
+unset them to prevent any chance of this happening.</para>
|
|
|
+
|
|
|
<para>Now, after sourcing the just-created profile, we're all set to begin
|
|
|
building the temporary tools that will support us in later chapters.</para>
|
|
|
|