gst-plugins-base1: set -msse2 only for x86 and -O2 to fix warnings.

This commit is contained in:
Juan RP 2015-12-07 16:38:30 +01:00
parent e16a1a7246
commit e56d13c9af

View file

@ -23,7 +23,7 @@ distfiles="http://gstreamer.freedesktop.org/src/${pkgname/1/}/${pkgname/1/}-${ve
checksum=9533dcfaa4ee32d435483d9fa88c06b1eba6e9bb234aacd7583f207199f44ba3
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) CFLAGS="-msse2";;
i686*) CFLAGS="-O2 -msse2";;
esac
# Package build options