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