diff --git a/community/py-greenlet/APKBUILD b/community/py-greenlet/APKBUILD index 068d3aa9652..50633c5630a 100644 --- a/community/py-greenlet/APKBUILD +++ b/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 }