summaryrefslogtreecommitdiff
path: root/repo/core/findutils.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-12 23:04:23 +0000
committerdavidovski <david@davidovski.xyz>2022-01-12 23:04:23 +0000
commit1f9fb2e790e9b0aee98fda60c9ca9ab87f61cce0 (patch)
tree2c850782b81eef5238416557438836c342da9165 /repo/core/findutils.xibuild
parent7df0ff4b9974d394786ceee9bd5e3df6616b846b (diff)
updated all build files based on lfs
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
}