From 565cf4e5e4885d630ce812c5a2c47b56d61eb6d4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 14 Jun 2014 09:34:25 +0200 Subject: [PATCH] gst-plugins-base: fix x86 build with gcc-4.9 (force SSE2 instructions). --- srcpkgs/gst-plugins-base/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/gst-plugins-base/template b/srcpkgs/gst-plugins-base/template index e81202b6dfa..9d98dacc6a0 100644 --- a/srcpkgs/gst-plugins-base/template +++ b/srcpkgs/gst-plugins-base/template @@ -35,6 +35,10 @@ license="GPL-2, LGPL-2.1" distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.xz" checksum=1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a +if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then + CFLAGS="-msse2" +fi + # Package build options build_options="cdparanoia gir" desc_option_cdparanoia="Enable support for CD audio (cdparanoia)"