thunderbird: use generic libatomic checks
This commit is contained in:
parent
07ddfc944a
commit
aa1a906667
|
@ -31,19 +31,14 @@ build_options="alsa dbus pulseaudio startup_notification xscreensaver sndio wayl
|
|||
build_options_default="alsa dbus pulseaudio startup_notification xscreensaver sndio wayland"
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
armv6*) broken="required NEON extensions are not supported on armv6" ;;
|
||||
ppc64*) ;;
|
||||
ppc*) broken="ftbfs in several places" ;;
|
||||
ppc*) broken="xptcall bitrot" ;;
|
||||
esac
|
||||
|
||||
case $XBPS_TARGET_MACHINE in
|
||||
armv6*)
|
||||
broken="required NEON extensions are not supported on armv6"
|
||||
;;
|
||||
ppc64*) ;;
|
||||
ppc*)
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# we need this because cargo verifies checksums of all files in vendor
|
||||
# crates when it builds and gives us no way to override or update the
|
||||
|
@ -89,15 +84,15 @@ do_build() {
|
|||
esac
|
||||
|
||||
# webrtc currently fails to build on 32-bit ppc...
|
||||
# also need explicit libatomic
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
ppc*)
|
||||
echo "ac_add_options --disable-webrtc" >>.mozconfig
|
||||
export LDFLAGS+=" -latomic"
|
||||
;;
|
||||
ppc*) echo "ac_add_options --disable-webrtc" >>.mozconfig ;;
|
||||
esac
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
export LDFLAGS+=" -latomic"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl|i686-musl)
|
||||
echo "ac_add_options --host=${XBPS_TRIPLET}" >>.mozconfig
|
||||
|
|
Loading…
Reference in New Issue