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-08 10:25:25 (GMT)
commit32256b44467398da612139c344da2881c0bda8d1 (patch)
tree4c614b546edce0875be46c80fdfc0c5bf3151565
parentcb16b957a1447ac3809070d8d8cdf4c019a161a2 (diff)
downloaddefinitions-baserock/pedroalvarez/msse2-fix.tar.gz
Use msse2 GCC flags only in x86baserock/pedroalvarez/msse2-fix
Change-Id: Ic438668d4413cbba6c680604fa97ca160b3387e6
-rw-r--r--strata/audio-bluetooth/webrtc-audio-processing.morph6
-rw-r--r--strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph6
2 files changed, 8 insertions, 4 deletions
diff --git a/strata/audio-bluetooth/webrtc-audio-processing.morph b/strata/audio-bluetooth/webrtc-audio-processing.morph
index 4c10a48..10a99de 100644
--- a/strata/audio-bluetooth/webrtc-audio-processing.morph
+++ b/strata/audio-bluetooth/webrtc-audio-processing.morph
@@ -2,6 +2,8 @@ name: webrtc-audio-processing
kind: chunk
build-system: autotools
pre-configure-commands:
+- NOCONFIGURE=1 ./autogen.sh
- |
- NOCONFIGURE=1 ./autogen.sh
- sed -i -e "s/-O2/& -msse2/" configure
+ case "$MORPH_ARCH" in
+ x86*) sed -i -e "s/-O2/& -msse2/" configure ;;
+ esac
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..494e538 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
@@ -2,7 +2,9 @@ name: gstreamer-plugins-base-0.10
kind: chunk
build-system: autotools
configure-commands:
+- NOCONFIGURE=1 ./autogen.sh
- |
- NOCONFIGURE=1 ./autogen.sh
- sed -i -e "s/-O2/& -msse2/" configure
+ case "$MORPH_ARCH" in
+ x86*) sed -i -e "s/-O2/& -msse2/" configure ;;
+ esac
- ./configure --prefix="$PREFIX" --sysconfdir=/etc --localstatedir=/var --disable-gtk-doc