Skip to content
Snippets Groups Projects
Commit a37410b5 authored by Henrik Riomar's avatar Henrik Riomar
Browse files

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.

(cherry picked from commit edd56c9a)
parent f407cd49
No related branches found
No related tags found
1 merge request!26236[3.13] community/fio: disable build system cpu optimizations
Pipeline #95981 passed
......@@ -2,7 +2,7 @@
# Maintainer: wener <wenermail@gmail.com>
pkgname=fio
pkgver=3.25
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=
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment