From ec9608178352707994e72c8a4085abe58c93058f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 14 Jun 2014 09:22:49 +0200 Subject: [PATCH] gst-plugins-base1: fix x86 build with gcc-4.9 (force SSE2 instructions). --- srcpkgs/gst-plugins-base1/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/gst-plugins-base1/template b/srcpkgs/gst-plugins-base1/template index 0a7f6c42aaa..fdf42409122 100644 --- a/srcpkgs/gst-plugins-base1/template +++ b/srcpkgs/gst-plugins-base1/template @@ -19,6 +19,10 @@ license="GPL-2, LGPL-2.1" distfiles="http://gstreamer.freedesktop.org/src/${pkgname/1/}/${pkgname/1/}-${version#*:}.tar.xz" checksum=4d6273dc3f5a94bcc53ccfe0711cfddd49e31371d1136bf62fa1ecc604fc6550 +if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then + CFLAGS="-msse2" +fi + # Package build options build_options="cdparanoia gir" desc_option_cdparanoia="Enable support for CD audio (cdparanoia)"