aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/setting-environment.xml2
-rw-r--r--chapter06/chroot.xml1
-rw-r--r--chapter06/revisedchroot.xml1
3 files changed, 1 insertions, 3 deletions
diff --git a/chapter05/setting-environment.xml b/chapter05/setting-environment.xml
index 97fb25f3c..45675ea76 100644
--- a/chapter05/setting-environment.xml
+++ b/chapter05/setting-environment.xml
@@ -11,7 +11,7 @@ umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
PATH=/stage1/bin:$PATH
-export LFS LC_ALL LDFLAGS PATH
+export LFS LC_ALL PATH
EOF
source ~/.bash_profile</userinput></screen></para>
diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml
index 2cfaa21de..f86ce99f1 100644
--- a/chapter06/chroot.xml
+++ b/chapter06/chroot.xml
@@ -13,7 +13,6 @@ to enter the chroot environment:</para>
<para><screen><userinput>chroot $LFS /stage1/bin/env -i \
&nbsp;&nbsp;&nbsp;&nbsp;HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
&nbsp;&nbsp;&nbsp;&nbsp;PATH=/bin:/usr/bin:/sbin:/usr/sbin:/stage1/bin \
-&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-s" \
&nbsp;&nbsp;&nbsp;&nbsp;/stage1/bin/bash --login</userinput></screen>
</para>
diff --git a/chapter06/revisedchroot.xml b/chapter06/revisedchroot.xml
index 696c441cf..4450807d8 100644
--- a/chapter06/revisedchroot.xml
+++ b/chapter06/revisedchroot.xml
@@ -17,7 +17,6 @@ class="directory">/static</filename> directory anymore.</para>
<para><screen><userinput>chroot $LFS /usr/bin/env -i \
&nbsp;&nbsp;&nbsp;&nbsp;HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
&nbsp;&nbsp;&nbsp;&nbsp;PATH=/bin:/usr/bin:/sbin:/usr/sbin \
-&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-s" \
&nbsp;&nbsp;&nbsp;&nbsp;/bin/bash --login</userinput></screen></para>
<para><screen><userinput>set +h</userinput></screen></para>