mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 09:11:38 +01:00
testing/py-greenlet: more forceful compiler flag fixing
This commit is contained in:
parent
b15a27018d
commit
cc0dfe861d
@ -3,7 +3,7 @@
|
||||
pkgname=py-greenlet
|
||||
_pkgname=greenlet
|
||||
pkgver=0.4.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Lightweight in-process concurrent programming"
|
||||
url="http://pypi.python.org/pypi/greenlet"
|
||||
arch="all"
|
||||
@ -14,10 +14,20 @@ source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgna
|
||||
gcc-4.8-bugfix.patch"
|
||||
|
||||
_builddir="$srcdir"/$_pkgname-$pkgver
|
||||
build ()
|
||||
{
|
||||
prepare() {
|
||||
local i
|
||||
cd "$_builddir"
|
||||
python setup.py build || return 1
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
env
|
||||
CFLAGS="-O0" CPPFLAGS="-O0" CXXFLAGS="-O0" python setup.py build || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user