firefox: nuke webrtc support on ppc64le

This commit is contained in:
q66 2022-01-23 01:49:58 +01:00
parent 09307b887d
commit 41c90866e5

View file

@ -91,6 +91,19 @@ do_build() {
echo "ac_add_options --disable-webrtc" >>.mozconfig
fi
# it seems mozilla has started catching up with google's webrtc
# and this newly involves introducing several megabytes of generated
# json junk that we just cannot maintain in-tree, additionally they
# have indicated that they will be re-generating these frequently
#
# it is unacceptable to keep a 7MB patch downstream, so disable it
#
# https://phabricator.services.mozilla.com/D134738
#
case "$XBPS_TARGET_MACHINE" in
ppc64le*) echo "ac_add_options --disable-webrtc" >>.mozconfig ;;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
export LDFLAGS+=" -latomic"
fi