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"
|
homepage="https://launchpad.net/cairo-dock"
|
||||||
distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
|
distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz"
|
||||||
checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
|
checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) CFLAGS+="-D_GNU_SOURCE" ;;
|
|
||||||
esac
|
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" python-devel python3-devel"
|
hostmakedepends+=" python-devel python3-devel"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
CFLAGS="-fcommon"
|
||||||
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
CFLAGS+=" -D_GNU_SOURCE"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Disable Logout plugin
|
# Disable Logout plugin
|
||||||
echo -n > logout/CMakeLists.txt
|
echo -n > logout/CMakeLists.txt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue