firefox: disable webrtc on big endian (ftbfs)

This commit is contained in:
q66 2022-01-18 20:55:36 +01:00
parent 1baf431894
commit 4744827bd6

View file

@ -85,11 +85,11 @@ do_build() {
;; ;;
esac esac
# webrtc currently fails to build on 32-bit ppc... # third_party/libwebrtc/common_audio/wav_file.cc:93:2: error:
case "$XBPS_TARGET_MACHINE" in # #error "Need to convert samples to big-endian when reading from WAV file"
ppc64*) ;; if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
ppc*) echo "ac_add_options --disable-webrtc" >>.mozconfig ;; echo "ac_add_options --disable-webrtc" >>.mozconfig
esac fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
export LDFLAGS+=" -latomic" export LDFLAGS+=" -latomic"