mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/py-greenlet: fix build on mips*
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.
This commit is contained in:
parent
d989793e64
commit
2b9526c277
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user