From 1f7dc26742f12f6bc08e86c39551b0a3c0d27252 Mon Sep 17 00:00:00 2001 From: "Tuan M. Hoang" <tmhoang@flatglobe.org> Date: Sun, 3 Jun 2018 00:54:44 +0000 Subject: [PATCH] community/babl: -Ofast fails float-to-8bit test on s390x float-to-8bit test is unstable on s390x, it won't fail if previous build is cached as being successful. babl commit 90e25d7ff381fc67588d77bb033992079bab5d3a introduces -Ofast which (probably) causes this. upstream bug : https://bugzilla.gnome.org/show_bug.cgi?id=790745 --- community/babl/APKBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/community/babl/APKBUILD b/community/babl/APKBUILD index d3861d1fad62..fe25e91e6c10 100644 --- a/community/babl/APKBUILD +++ b/community/babl/APKBUILD @@ -11,6 +11,8 @@ source="https://ftp.gimp.org/pub/babl/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" build() { cd "$builddir" + # See: https://bugzilla.gnome.org/show_bug.cgi?id=790745 + [ "$CARCH" = "s390x" ] && sed -i -e 's/-Ofast//g' configure ./configure \ --build=$CBUILD \ --host=$CHOST \ -- GitLab