Skip to content

Commit

Permalink
firefox: nuke webrtc support on ppc64le
Browse files Browse the repository at this point in the history
  • Loading branch information
q66 committed Feb 5, 2022
1 parent 09307b8 commit 41c9086
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions srcpkgs/firefox/template
Expand Up @@ -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
Expand Down

0 comments on commit 41c9086

Please sign in to comment.