From 32256b44467398da612139c344da2881c0bda8d1 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 8 Jul 2016 10:25:25 +0000 Subject: Use msse2 GCC flags only in x86 Change-Id: Ic438668d4413cbba6c680604fa97ca160b3387e6 --- strata/audio-bluetooth/webrtc-audio-processing.morph | 6 ++++-- strata/multimedia-gstreamer-0.10/gstreamer-plugins-base-0.10.morph | 6 ++++-- 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 4c10a489..10a99de4 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 f68642c6..494e5381 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 -- cgit v1.2.1