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