gst-plugins-base: fix x86 build with gcc-4.9 (force SSE2 instructions).

This commit is contained in:
Juan RP 2014-06-14 09:34:25 +02:00
parent ec96081783
commit 565cf4e5e4
1 changed files with 4 additions and 0 deletions

View File

@ -35,6 +35,10 @@ license="GPL-2, LGPL-2.1"
distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.xz" distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.xz"
checksum=1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a checksum=1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
CFLAGS="-msse2"
fi
# Package build options # Package build options
build_options="cdparanoia gir" build_options="cdparanoia gir"
desc_option_cdparanoia="Enable support for CD audio (cdparanoia)" desc_option_cdparanoia="Enable support for CD audio (cdparanoia)"