python-xpra: Wno-error some things in cython code

This commit is contained in:
Christoph Reiter
2022-06-12 20:28:21 +02:00
parent 72afe9a4bf
commit e50372c19a

View File

@@ -9,7 +9,7 @@ replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-common")
provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=4.2.3
pkgrel=7
pkgrel=8
pkgdesc='Remote access client/server software (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
@@ -72,6 +72,8 @@ prepare() {
build() {
msg "Python build for ${MSYSTEM}"
cd "${srcdir}/python-build-${MSYSTEM}"
CFLAGS+=" -Wno-error=address" # triggers gcc 12 error in some auto generated cython code
${MINGW_PREFIX}/bin/python setup.py build \
--without-cuda_kernels --with-data --without-docs --with-modules
}