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"
|
||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||
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…
Reference in a new issue