python-notify: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
2b0d4fcb0e
commit
b139aeff3e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue