aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/diffutils.xml4
-rw-r--r--chapter06/grep.xml5
-rw-r--r--chapter06/sed.xml5
3 files changed, 9 insertions, 5 deletions
diff --git a/chapter06/diffutils.xml b/chapter06/diffutils.xml
index af4d95429..d2b875a9d 100644
--- a/chapter06/diffutils.xml
+++ b/chapter06/diffutils.xml
@@ -45,7 +45,9 @@
<para>Prepare Diffutils for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen>
+ <screen><userinput remap="configure">./configure --prefix=/usr \
+ --host=$LFS_TGT \
+ --build=$(./build-aux/config.guess)</userinput></screen>
<para>Compile the package:</para>
diff --git a/chapter06/grep.xml b/chapter06/grep.xml
index 1bccd7486..dd942c712 100644
--- a/chapter06/grep.xml
+++ b/chapter06/grep.xml
@@ -45,8 +45,9 @@
<para>Prepare Grep for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr \
- --host=$LFS_TGT</userinput></screen>
+ <screen><userinput remap="configure">./configure --prefix=/usr \
+ --host=$LFS_TGT \
+ --build=$(./build-aux/config.guess)</userinput></screen>
<para>Compile the package:</para>
diff --git a/chapter06/sed.xml b/chapter06/sed.xml
index b3e39c215..b297afedd 100644
--- a/chapter06/sed.xml
+++ b/chapter06/sed.xml
@@ -45,8 +45,9 @@
<para>Prepare Sed for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr \
- --host=$LFS_TGT</userinput></screen>
+ <screen><userinput remap="configure">./configure --prefix=/usr \
+ --host=$LFS_TGT \
+ --build=$(./build-aux/config.guess)</userinput></screen>
<para>Compile the package:</para>