python-notify: needs -fcommon for gcc10

[ci skip]
This commit is contained in:
Jürgen Buchmüller 2020-08-18 02:48:40 +02:00
parent 2b0d4fcb0e
commit b139aeff3e
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ replaces="notify-python>=0"
patch_args="-Np1" patch_args="-Np1"
lib32disabled=yes lib32disabled=yes
CFLAGS="-fcommon"
pre_configure() { pre_configure() {
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure sed -i -e "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure