Skip to content
Snippets Groups Projects
Commit c8c6c8ca authored by Tuan M. Hoang's avatar Tuan M. Hoang Committed by Natanael Copa
Browse files

community/ioping: fix bug s390x builder

since s390x builder is lxc, the host kernel returns EINVAL when
fadvice() is called with POSIX_FADV_DONTNEED.
Passing -C to ioping allows check() to run. Temp fix for 3.6.
parent ab98989d
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ _builddir="$srcdir"/$pkgname-$pkgver ...@@ -18,6 +18,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() { prepare() {
local i local i
cd "$_builddir" cd "$_builddir"
[ "$CARCH" = "s390x" ] && sed -i -e 's@./$(BINARY)@./$(BINARY) -C@g' Makefile
for i in $source; do for i in $source; do
case $i in case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
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