mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 19:32:57 +02:00
gnome-builder: fix musl build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
c839a7484b
commit
12494b2a3d
1 changed files with 13 additions and 0 deletions
|
@ -15,3 +15,16 @@ homepage="https://wiki.gnome.org/Apps/Builder"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||||
checksum=71b7527a4297b5e4986754f5563cb9afc777bc8a890b90145c05ac93f2d6a9f8
|
checksum=71b7527a4297b5e4986754f5563cb9afc777bc8a890b90145c05ac93f2d6a9f8
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) makedepends+=" libexecinfo-devel"
|
||||||
|
LIBS+=" -lexecinfo"
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
aarch64*|x86_64*)
|
||||||
|
CXXFLAGS+=" -D__WORDSIZE=64"
|
||||||
|
;;
|
||||||
|
*) CXXFLAGS+=" -D__WORDSIZE=32"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue