summaryrefslogtreecommitdiff
path: root/repo/core/findutils.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/core/findutils.xibuild')
-rw-r--r--repo/core/findutils.xibuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/repo/core/findutils.xibuild b/repo/core/findutils.xibuild
index 899abfb..d8fd39c 100644
--- a/repo/core/findutils.xibuild
+++ b/repo/core/findutils.xibuild
@@ -6,7 +6,11 @@ SOURCE=https://ftp.gnu.org/gnu/findutils/findutils-4.8.0.tar.xz
DESC="GNU utilities to locate files"
build () {
- ./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
+
make
make DESTDIR=$PKG_DEST install
}