From 5f570ce246a802af781277fa3a4762ac805263ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 8 Jul 2016 11:37:47 +0100 Subject: strata/audio-bluetooth/webrtc-audio-processing.morph: Only set sse2 in x86_32 --- strata/audio-bluetooth/webrtc-audio-processing.morph | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'strata/audio-bluetooth/webrtc-audio-processing.morph') 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 -- cgit v1.2.1