webrtc-audio-processing: Fix ARM breakage

This commit is contained in:
Tuomas Tynkkynen 2016-07-10 01:35:00 +03:00
parent 9d81feb474
commit 2ed3f7a020

View File

@ -8,6 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "1yl0187xjh1j2zkb7v9cs9i868zcaj23pzn4a36qhzam9wfjjvkm";
};
# Avoid this error:
# signal_processing/filter_ar_fast_q12_armv7.S:88: Error: selected processor does not support `sbfx r11,r6,#12,#16' in ARM mode
patchPhase = stdenv.lib.optionalString stdenv.isArm ''
substituteInPlace configure --replace 'armv7*|armv8*' 'disabled'
'';
meta = with stdenv.lib; {
homepage = http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing;
description = "A more Linux packaging friendly copy of the AudioProcessing module from the WebRTC project";