Build fails at switch_mips_unix.h with "$fp cannot be used in asm here"
because of forced -O0 (thus without -fomit-frame-pointer) in APKBUILD.
As a quick fix, use the "normal" C*FLAGS on mips* only. Test still
passes on mipsel at least.
---
community/py-greenlet/APKBUILD | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/community/py-greenlet/APKBUILD b/community/py-greenlet/APKBUILD
index 068d3aa965..50633c5630 100644
--- a/community/py-greenlet/APKBUILD
@@ -18,7 +18,10 @@ builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
- export CFLAGS="-O0" CPPFLAGS="-O0" CXXFLAGS="-O0"
+ case "$CARCH" in
+ mips*) ;;
+ *) export CFLAGS="-O0" CPPFLAGS="-O0" CXXFLAGS="-O0" ;;
+ esac
python2 setup.py build
python3 setup.py build
}
--
2.19.2
---
Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org
Help: alpine-aports+help@lists.alpinelinux.org
---