summaryrefslogtreecommitdiff
path: root/strata/multimedia-gstreamer-0.10
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-07-08 10:25:25 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-07-13 11:39:57 +0000
commit647959f1e6f4b01e1aeb8e6c57133f79173b69d8 (patch)
tree937b8fe79e633583720691dcf4a4dc803590d60f /strata/multimedia-gstreamer-0.10
parent28b24734be7e63f9cd24e41a237e7fde45ac9316 (diff)
downloaddefinitions-647959f1e6f4b01e1aeb8e6c57133f79173b69d8.tar.gz
Use msse2 GCC flags only in x86_32
Change-Id: Ic438668d4413cbba6c680604fa97ca160b3387e6
Diffstat (limited to 'strata/multimedia-gstreamer-0.10')
-rw-r--r--strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph10
1 files changed, 8 insertions, 2 deletions
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 f68642c6..745e12ce 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