firefox: disable webrtc on big endian (ftbfs)
This commit is contained in:
parent
1baf431894
commit
4744827bd6
1 changed files with 5 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue