mixxx: unbreak x86: force SSE instructions.
This commit is contained in:
parent
5c9214be1d
commit
4b9dc2d85c
@ -17,18 +17,21 @@ checksum="00961b5d6c1e6d6686d76e55de474b943bbeff4e59b163dddd3d9940dc1b0331"
|
|||||||
_scons_args="qtdir=/usr/include shoutcast=0 faad=1 tuned=0 prefix=/usr"
|
_scons_args="qtdir=/usr/include shoutcast=0 faad=1 tuned=0 prefix=/usr"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||||
|
export CFLAGS+=" -msse"
|
||||||
|
export CXXFLAGS+=" -msse"
|
||||||
|
fi
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's/branch_name = .*/branch_name = "mixxx"/' \
|
-e 's/branch_name = .*/branch_name = "mixxx"/' \
|
||||||
-e 's/bazaar_revision = .*/bazaar_revision = "'$version'"/' \
|
-e 's/bazaar_revision = .*/bazaar_revision = "'$version'"/' \
|
||||||
src/SConscript
|
src/SConscript
|
||||||
|
|
||||||
scons ${makejobs} \
|
scons ${makejobs} ${_scons_args}
|
||||||
$_scons_args \
|
|
||||||
install_root=$DESTDIR/usr
|
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
scons ${makejobs} \
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||||
$_scons_args \
|
export CFLAGS+=" -msse"
|
||||||
install_root=$DESTDIR/usr \
|
export CXXFLAGS+=" -msse"
|
||||||
install
|
fi
|
||||||
|
scons ${_scons_args} install_root=${DESTDIR}/usr install
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user