From f2ab0c5d056c1cf7a8a16cd43936fa0cc2ac5b0b Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Wed, 3 Nov 2021 17:36:07 +0100 Subject: Fix issue building findutils on a 32bit system Cherry picked from the multilib branch --- chapter08/findutils.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'chapter08') 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: -- cgit v1.2.3-54-g00ecf