summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-07-08 10:25:25 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-07-13 11:39:57 (GMT)
commit647959f1e6f4b01e1aeb8e6c57133f79173b69d8 (patch)
tree937b8fe79e633583720691dcf4a4dc803590d60f
parent28b24734be7e63f9cd24e41a237e7fde45ac9316 (diff)
downloaddefinitions-647959f1e6f4b01e1aeb8e6c57133f79173b69d8.tar.gz
Use msse2 GCC flags only in x86_32
Change-Id: Ic438668d4413cbba6c680604fa97ca160b3387e6
-rw-r--r--strata/audio-bluetooth/webrtc-audio-processing.morph11
-rw-r--r--strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph10
2 files changed, 17 insertions, 4 deletions
diff --git a/strata/audio-bluetooth/webrtc-audio-processing.morph b/strata/audio-bluetooth/webrtc-audio-processing.morph
index 4c10a48..ea8cd4e 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
diff --git a/strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph b/strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph
index f68642c..745e12c 100644
--- a/strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph
+++ b/strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph
@@ -4,5 +4,11 @@ build-system: autotools
configure-commands:
- |
NOCONFIGURE=1 ./autogen.sh
- sed -i -e "s/-O2/& -msse2/" configure
-- ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var --disable-gtk-doc
+
+ case "$MORPH_ARCH" in
+ x86_32)
+ sed -i -e "s/-O2/& -msse2/" configure
+ ;;
+ esac
+
+ ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var --disable-gtk-doc