mixxx: unbreak x86: force SSE instructions.

This commit is contained in:
Juan RP 2014-11-14 09:37:01 +01:00
parent 5c9214be1d
commit 4b9dc2d85c

View file

@ -17,18 +17,21 @@ checksum="00961b5d6c1e6d6686d76e55de474b943bbeff4e59b163dddd3d9940dc1b0331"
_scons_args="qtdir=/usr/include shoutcast=0 faad=1 tuned=0 prefix=/usr"
do_build() {
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
export CFLAGS+=" -msse"
export CXXFLAGS+=" -msse"
fi
sed -i \
-e 's/branch_name = .*/branch_name = "mixxx"/' \
-e 's/bazaar_revision = .*/bazaar_revision = "'$version'"/' \
src/SConscript
scons ${makejobs} \
$_scons_args \
install_root=$DESTDIR/usr
scons ${makejobs} ${_scons_args}
}
do_install() {
scons ${makejobs} \
$_scons_args \
install_root=$DESTDIR/usr \
install
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
export CFLAGS+=" -msse"
export CXXFLAGS+=" -msse"
fi
scons ${_scons_args} install_root=${DESTDIR}/usr install
}