cairo-dock-plugins: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
2f619d05e8
commit
2caf22e6a6
1 changed files with 5 additions and 3 deletions
|
@ -16,15 +16,17 @@ license="GPL-2"
|
|||
homepage="https://launchpad.net/cairo-dock"
|
||||
distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
|
||||
checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
|
||||
esac
|
||||
patch_args="-Np1"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" python-devel python3-devel"
|
||||
fi
|
||||
|
||||
CFLAGS="-fcommon"
|
||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||
CFLAGS+=" -D_GNU_SOURCE"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
# Disable Logout plugin
|
||||
echo -n > logout/CMakeLists.txt
|
||||
|
|
Loading…
Reference in a new issue