From f08c6def0426fca3dde651fd9507fb9ddaabd23b Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Wed, 3 Nov 2021 17:36:07 +0100 Subject: [PATCH] Fix issue building findutils on a 32bit system --- chapter08/findutils.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ Prepare Findutils for compilation: -./configure --prefix=/usr --localstatedir=/var/lib/locate +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 The meaning of the configure options: