aboutsummaryrefslogtreecommitdiffstats
path: root/community/fio/APKBUILD
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2021-09-27 08:55:11 +0200
committerMichał Polański <michal@polanski.me>2021-10-07 17:25:41 +0000
commitedd56c9a3b170eb97b14ba6a5317e6b10ccf69a9 (patch)
tree737068a50b4c842384d1cfd79f0956d2e4688a93 /community/fio/APKBUILD
parentae2fcc23e12565442a124114d22194113a573fcf (diff)
downloadaports-edd56c9a3b170eb97b14ba6a5317e6b10ccf69a9.tar.gz
aports-edd56c9a3b170eb97b14ba6a5317e6b10ccf69a9.tar.bz2
aports-edd56c9a3b170eb97b14ba6a5317e6b10ccf69a9.tar.xz
community/fio: disable build system cpu optimizations
Use '--disable-native' to disable build system local CPU optimizations. Fixes: $ fio Illegal instruction on systems with different cpu features than the build host. For instance this currently prevents the fio binary shipped with Alpine to be used on systems with an Intel Atom C3000 cpu.
Diffstat (limited to 'community/fio/APKBUILD')
-rw-r--r--community/fio/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/fio/APKBUILD b/community/fio/APKBUILD
index bec642e325..0743caf610 100644
--- a/community/fio/APKBUILD
+++ b/community/fio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: wener <wenermail@gmail.com>
pkgname=fio
pkgver=3.28
-pkgrel=0
+pkgrel=1
pkgdesc="Flexible I/O Tester"
url="https://github.com/axboe/fio"
arch="all"
@@ -18,7 +18,9 @@ case "$CARCH" in
esac
build() {
- ./configure --prefix=/usr
+ ./configure \
+ --prefix=/usr \
+ --disable-native
make T_TEST_PROGS=
}