aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Trepl <thomas@lfs-x86_64.local.trepl.de>2021-11-03 17:36:07 +0100
committerPierre Labastie <pierre.labastie@neuf.fr>2021-12-14 13:39:01 +0100
commitf2ab0c5d056c1cf7a8a16cd43936fa0cc2ac5b0b (patch)
tree8bd427b817b3ebb84276c1e7d2f8facc8c74851d
parent1ca22874d3856cf4eebfde003c3be87e21d46afe (diff)
Fix issue building findutils on a 32bit system
Cherry picked from the multilib branch
-rw-r--r--chapter08/findutils.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/chapter08/findutils.xml b/chapter08/findutils.xml
index 092be0c96..ea0de93de 100644
--- a/chapter08/findutils.xml
+++ b/chapter08/findutils.xml
@@ -45,7 +45,10 @@
<para>Prepare Findutils for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr --localstatedir=/var/lib/locate</userinput></screen>
+<screen><userinput remap="configure">case $(uname -m) in
+ i?86) TIME_T_32_BIT_OK=yes ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
+ x86_64) ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
+esac</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>