summaryrefslogtreecommitdiff
path: root/strata/audio-bluetooth/webrtc-audio-processing.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/audio-bluetooth/webrtc-audio-processing.morph')
-rw-r--r--strata/audio-bluetooth/webrtc-audio-processing.morph11
1 files changed, 9 insertions, 2 deletions
diff --git a/strata/audio-bluetooth/webrtc-audio-processing.morph b/strata/audio-bluetooth/webrtc-audio-processing.morph
index 4c10a489..ea8cd4e0 100644
--- a/strata/audio-bluetooth/webrtc-audio-processing.morph
+++ b/strata/audio-bluetooth/webrtc-audio-processing.morph
@@ -1,7 +1,14 @@
name: webrtc-audio-processing
kind: chunk
build-system: autotools
-pre-configure-commands:
+configure-commands:
- |
NOCONFIGURE=1 ./autogen.sh
- sed -i -e "s/-O2/& -msse2/" configure
+
+ case "$MORPH_ARCH" in
+ x86_32)
+ sed -i -e "s/-O2/& -msse2/" configure
+ ;;
+ esac
+
+ ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var